From 26368ac8f1a32f49eaffae77abcfc595c62802bd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 1 Aug 2019 21:40:47 +0200 Subject: add ways for application to control corking for upgraded sockets --- src/microhttpd/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/microhttpd/connection.c') diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 67ff6017..c2add01a 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -3181,7 +3181,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection) return; case MHD_CONNECTION_HEADERS_SENDING: { - const size_t wb_ready =connection->write_buffer_append_offset - + const size_t wb_ready = connection->write_buffer_append_offset - connection->write_buffer_send_offset; /* if the response body is not available, we use MHD_send_on_connection_() */ -- cgit v1.2.3