diff options
Diffstat (limited to 'src/daemon/connection.c')
-rw-r--r-- | src/daemon/connection.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c index 8cc6e946..49fa6ffe 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c | |||
@@ -241,11 +241,6 @@ MHD_queue_response (struct MHD_Connection *connection, | |||
241 | have already sent the full message body */ | 241 | have already sent the full message body */ |
242 | connection->response_write_position = response->total_size; | 242 | connection->response_write_position = response->total_size; |
243 | } | 243 | } |
244 | if ((response->total_size == MHD_SIZE_UNKNOWN) && | ||
245 | (0 == strcasecmp (connection->version, MHD_HTTP_VERSION_1_1))) | ||
246 | connection->have_chunked_response = MHD_YES; | ||
247 | else | ||
248 | connection->have_chunked_response = MHD_NO; | ||
249 | if (connection->state == MHD_CONNECTION_HEADERS_PROCESSED) | 244 | if (connection->state == MHD_CONNECTION_HEADERS_PROCESSED) |
250 | { | 245 | { |
251 | /* response was queued "early", | 246 | /* response was queued "early", |