Sun, 21 Jan 2018 08:54:28 +0100
fixes double close
src/server/daemon/error.c | file | annotate | diff | comparison | revisions | |
src/server/daemon/sessionhandler.c | file | annotate | diff | comparison | revisions |
--- a/src/server/daemon/error.c Sun Jan 14 10:38:09 2018 +0100 +++ b/src/server/daemon/error.c Sun Jan 21 08:54:28 2018 +0100 @@ -116,6 +116,4 @@ req->connection->write(req->connection, buf, len); req->connection->write(req->connection, msg.ptr, msg.length); - - req->connection->close(req->connection); }
--- a/src/server/daemon/sessionhandler.c Sun Jan 14 10:38:09 2018 +0100 +++ b/src/server/daemon/sessionhandler.c Sun Jan 21 08:54:28 2018 +0100 @@ -426,7 +426,7 @@ HTTPRequest *request = io->request; if(event->error) { - log_ereport(LOG_VERBOSE, "sessionhandler http io error: %d", io->error); + log_ereport(LOG_VERBOSE, "sessionhandler http io error: %d fd: %d", io->error, request->connection->fd); } free(request->netbuf->inbuf);