diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/daemon/connection.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ | |||
1 | Fri Jan 4 16:02:08 MST 2008 | ||
2 | Fix to properly close connection if application signals | ||
3 | problem handling the request. - AS | ||
4 | |||
1 | Wed Jan 2 16:41:05 MST 2008 | 5 | Wed Jan 2 16:41:05 MST 2008 |
2 | Improvements and bugfixes to post processor implementation. - AS | 6 | Improvements and bugfixes to post processor implementation. - AS |
3 | 7 | ||
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) | |||
1631 | continue; | 1631 | continue; |
1632 | case MHD_CONNECTION_HEADERS_PROCESSED: | 1632 | case MHD_CONNECTION_HEADERS_PROCESSED: |
1633 | call_connection_handler (connection); /* first call */ | 1633 | call_connection_handler (connection); /* first call */ |
1634 | if (connection->state == MHD_CONNECTION_CLOSED) | ||
1635 | continue; | ||
1634 | if (need_100_continue (connection)) | 1636 | if (need_100_continue (connection)) |
1635 | { | 1637 | { |
1636 | connection->state = MHD_CONNECTION_CONTINUE_SENDING; | 1638 | connection->state = MHD_CONNECTION_CONTINUE_SENDING; |