diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-04-08 16:31:00 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-04-08 16:31:00 +0000 |
commit | 6ec74bd8eb282fb51655e25247c85d58faf3036d (patch) | |
tree | cacffe8a9df1dfd07c19a4b5cd3d07255bb22d7d | |
parent | 65f91e32933c86be0ab3d8283328088bb80e0e4c (diff) |
connection.c: fix using uninitialized variable in build_header_response()
-rw-r--r-- | src/microhttpd/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index dc224588..3fc67319 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -1028,6 +1028,7 @@ build_header_response (struct MHD_Connection *connection) must_add_keep_alive = MHD_YES; break; case MHD_CONNECTION_BODY_SENT: + response_has_keepalive = NULL; break; default: EXTRA_CHECK (0); |