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); |