libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit db64241b24be03e2b20f692413ee74c25031891e
parent d67b93a2c6c9f0b65f49b24d1b43b7c18511689c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 24 Jul 2019 18:11:48 +0200

fix

Diffstat:
Msrc/microhttpd/connection.c | 2+-
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