aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-07-24 18:11:48 +0200
committerChristian Grothoff <christian@grothoff.org>2019-07-24 18:11:48 +0200
commitdb64241b24be03e2b20f692413ee74c25031891e (patch)
tree0b08ff98f24e3d6d2944baec08ec6c842eaa2abb
parentd67b93a2c6c9f0b65f49b24d1b43b7c18511689c (diff)
downloadlibmicrohttpd-db64241b24be03e2b20f692413ee74c25031891e.tar.gz
libmicrohttpd-db64241b24be03e2b20f692413ee74c25031891e.zip
fix
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 1 insertions, 1 deletions
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)
3409 return; 3409 return;
3410 case MHD_CONNECTION_HEADERS_SENDING: 3410 case MHD_CONNECTION_HEADERS_SENDING:
3411 /* if the response body is not available, we use MHD_send_on_connection_() */ 3411 /* if the response body is not available, we use MHD_send_on_connection_() */
3412 if (sizeof(connection->response->data) <= 1024) /* bad magic number */ 3412 if (NULL != connection->response->crc)
3413 { 3413 {
3414 ret = MHD_send_on_connection_ (connection, 3414 ret = MHD_send_on_connection_ (connection,
3415 &connection->write_buffer 3415 &connection->write_buffer