From: Daniel Stenberg Date: Mon, 27 Apr 2015 06:38:52 +0000 (+0200) Subject: sws: init http2 state properly X-Git-Tag: curl-7_43_0~210 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1945f99d599a310177ef11cd9d22131bb990845d;p=thirdparty%2Fcurl.git sws: init http2 state properly It would otherwise cause problems when running tests after 1801 etc. --- diff --git a/tests/server/sws.c b/tests/server/sws.c index 094a92d640..9ad54e4a80 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -913,6 +913,8 @@ static void init_httprequest(struct httprequest *req) req->callcount = 0; req->connect_port = 0; req->done_processing = 0; + req->upgrade = 0; + req->upgrade_request = 0; } /* returns 1 if the connection should be serviced again immediately, 0 if there