From 93ef4701123acd9c3f606b4d983dbaa840f427b4 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Thu, 28 Jul 2022 14:14:53 +0300 Subject: Internal refactoring: moved all request-related members to separate structure This should improve readability of the code and simplify reset. --- src/microhttpd/response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/microhttpd/response.c') diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index cffb859a..d352a804 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c @@ -2120,7 +2120,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response, /* hand over socket to application */ response->upgrade_handler (response->upgrade_handler_cls, connection, - connection->client_context, + connection->rq.client_context, connection->read_buffer, rbo, #ifdef HTTPS_SUPPORT -- cgit v1.2.3