aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 7cd60da9..3ce34f65 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1410,8 +1410,7 @@ MHD_connection_update_event_loop_info (struct MHD_Connection *connection)
1410 { 1410 {
1411 if ((MHD_YES != try_grow_read_buffer (connection)) && 1411 if ((MHD_YES != try_grow_read_buffer (connection)) &&
1412 (0 != (connection->daemon->options & 1412 (0 != (connection->daemon->options &
1413 (MHD_USE_INTERNAL_POLLING_THREAD | 1413 MHD_USE_INTERNAL_POLLING_THREAD)))
1414 MHD_USE_THREAD_PER_CONNECTION))))
1415 { 1414 {
1416 /* failed to grow the read buffer, and the 1415 /* failed to grow the read buffer, and the
1417 client which is supposed to handle the 1416 client which is supposed to handle the
@@ -2007,8 +2006,7 @@ process_request_body (struct MHD_Connection *connection)
2007 /* client did not process all POST data, complain if 2006 /* client did not process all POST data, complain if
2008 the setup was incorrect, which may prevent us from 2007 the setup was incorrect, which may prevent us from
2009 handling the rest of the request */ 2008 handling the rest of the request */
2010 if ( ( (0 != (connection->daemon->options & MHD_USE_THREAD_PER_CONNECTION)) || 2009 if ( (0 != (connection->daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) &&
2011 (0 != (connection->daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) ) &&
2012 (! connection->suspended) ) 2010 (! connection->suspended) )
2013 MHD_DLOG (connection->daemon, 2011 MHD_DLOG (connection->daemon,
2014 _("WARNING: incomplete POST processing and connection not suspended will result in hung connection.\n")); 2012 _("WARNING: incomplete POST processing and connection not suspended will result in hung connection.\n"));