connection.c: fix using uninitialized variable in build_header_response()

This commit is contained in:
Evgeny Grin (Karlson2k)
2016-04-08 16:31:00 +00:00
parent 65f91e3293
commit 6ec74bd8eb
+1
View File
@@ -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);