changeset 46 | 8a832c0e01ee |
parent 43 | e5b714190dee |
child 48 | 1c67f512779b |
--- a/memcache/server.c Thu Aug 28 01:42:28 2008 +0300 +++ b/memcache/server.c Thu Aug 28 03:12:11 2008 +0300 @@ -17,6 +17,10 @@ // store the vars server->endpoint = endpoint; server->max_connections = max_connections; + + // init lists + LIST_INIT(&server->conn_list); + TAILQ_INIT(&server->req_queue); // grow connpool so as to have a connection ready if (memcache_server_grow_connpool(server))