src/server/daemon/httprequest.c

changeset 79
f48cea237ec3
parent 78
3578977d29a3
child 80
0de4a90979e1
equal deleted inserted replaced
78:3578977d29a3 79:f48cea237ec3
401 SessionHandler *sh = sn->connection->session_handler; 401 SessionHandler *sh = sn->connection->session_handler;
402 sh->keep_alive(sh, sn->connection); 402 sh->keep_alive(sh, sn->connection);
403 /* 403 /*
404 * keep the connection object 404 * keep the connection object
405 * the sn->config is referenced by the connection, so we don't 405 * the sn->config is referenced by the connection, so we don't
406 * unref the configuration 406 * unref it
407 */ 407 */
408 } else { 408 } else {
409 close(sn->connection->fd); 409 close(sn->connection->fd);
410 free(sn->connection); 410 free(sn->connection);
411 cfg_unref(sn->config); 411 cfg_unref(sn->config);

mercurial