From 14e7bc7fc5c02502f92f169ddfe819fd68c42526 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 4 Jan 2008 23:04:27 +0000 Subject: fix --- src/daemon/connection.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/daemon/connection.c') diff --git a/src/daemon/connection.c b/src/daemon/connection.c index 188eea6b..fbcbffc2 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c @@ -1631,6 +1631,8 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) continue; case MHD_CONNECTION_HEADERS_PROCESSED: call_connection_handler (connection); /* first call */ + if (connection->state == MHD_CONNECTION_CLOSED) + continue; if (need_100_continue (connection)) { connection->state = MHD_CONNECTION_CONTINUE_SENDING; -- cgit v1.2.3