commit db64241b24be03e2b20f692413ee74c25031891e
parent d67b93a2c6c9f0b65f49b24d1b43b7c18511689c
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 24 Jul 2019 18:11:48 +0200
fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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