From 409fb0e18c8b34bac217ba968b2c7279b52818b5 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 17 Jan 2021 20:26:02 +0300 Subject: [PATCH] connection.c: push response headers for upgrade responses --- src/microhttpd/connection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 53d980d5..f7d25962 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -2963,6 +2963,8 @@ MHD_connection_handle_write (struct MHD_Connection *connection) 0, ((0 == resp->total_size) || (resp->total_size == + connection->response_write_position) || + (MHD_SIZE_UNKNOWN == connection->response_write_position))); }