diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index e65fc0b0..2db73b63 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -3139,6 +3139,8 @@ process_request_body (struct MHD_Connection *connection) | |||
3139 | buffer_head += i; | 3139 | buffer_head += i; |
3140 | connection->current_chunk_offset = 0; | 3140 | connection->current_chunk_offset = 0; |
3141 | connection->current_chunk_size = 0; | 3141 | connection->current_chunk_size = 0; |
3142 | if (0 == available) | ||
3143 | break; | ||
3142 | } | 3144 | } |
3143 | if (connection->current_chunk_offset < | 3145 | if (connection->current_chunk_offset < |
3144 | connection->current_chunk_size) | 3146 | connection->current_chunk_size) |