diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-01 21:40:47 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-01 21:40:47 +0200 |
commit | 26368ac8f1a32f49eaffae77abcfc595c62802bd (patch) | |
tree | 0e444c75bb66730ea96929fda487fbee4e26c41f /src/microhttpd/connection.c | |
parent | 97fd0a6557b98166f9617370e1497d47e80e9a04 (diff) | |
download | libmicrohttpd-26368ac8f1a32f49eaffae77abcfc595c62802bd.tar.gz libmicrohttpd-26368ac8f1a32f49eaffae77abcfc595c62802bd.zip |
add ways for application to control corking for upgraded sockets
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
3181 | return; | 3181 | return; |
3182 | case MHD_CONNECTION_HEADERS_SENDING: | 3182 | case MHD_CONNECTION_HEADERS_SENDING: |
3183 | { | 3183 | { |
3184 | const size_t wb_ready =connection->write_buffer_append_offset - | 3184 | const size_t wb_ready = connection->write_buffer_append_offset - |
3185 | connection->write_buffer_send_offset; | 3185 | connection->write_buffer_send_offset; |
3186 | 3186 | ||
3187 | /* if the response body is not available, we use MHD_send_on_connection_() */ | 3187 | /* if the response body is not available, we use MHD_send_on_connection_() */ |