diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 4b30a4c0..27bff077 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -2688,6 +2688,7 @@ MHD_queue_response (struct MHD_Connection *connection, | |||
2688 | connection->response_write_position = response->total_size; | 2688 | connection->response_write_position = response->total_size; |
2689 | } | 2689 | } |
2690 | if ( (MHD_CONNECTION_HEADERS_PROCESSED == connection->state) && | 2690 | if ( (MHD_CONNECTION_HEADERS_PROCESSED == connection->state) && |
2691 | (NULL != connection->method) && | ||
2691 | ( (0 == strcasecmp (connection->method, | 2692 | ( (0 == strcasecmp (connection->method, |
2692 | MHD_HTTP_METHOD_POST)) || | 2693 | MHD_HTTP_METHOD_POST)) || |
2693 | (0 == strcasecmp (connection->method, | 2694 | (0 == strcasecmp (connection->method, |