From db64241b24be03e2b20f692413ee74c25031891e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 24 Jul 2019 18:11:48 +0200 Subject: fix --- src/microhttpd/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index fdabdbcb..8cc3490b 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -3409,7 +3409,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection) return; case MHD_CONNECTION_HEADERS_SENDING: /* if the response body is not available, we use MHD_send_on_connection_() */ - if (sizeof(connection->response->data) <= 1024) /* bad magic number */ + if (NULL != connection->response->crc) { ret = MHD_send_on_connection_ (connection, &connection->write_buffer -- cgit v1.2.3