libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit cd4c6b6e389199cc8854d49f5ea29be6e64b03e2
parent 58b3056ca8cecf0a7f3038d1db0333bee5cb7005
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  4 Sep 2016 16:15:25 +0000

fix #4634 as suggested

Diffstat:
Msrc/microhttpd/connection.c | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -1586,10 +1586,13 @@ parse_initial_message_line (struct MHD_Connection *connection, } } if (NULL != daemon->uri_log_callback) - connection->client_context - = daemon->uri_log_callback (daemon->uri_log_callback_cls, - curi, - connection); + { + connection->client_context + = daemon->uri_log_callback (daemon->uri_log_callback_cls, + curi, + connection); + connection->client_aware = MHD_YES; + } if (NULL != args) { args[0] = '\0';