From 1945f99d599a310177ef11cd9d22131bb990845d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 27 Apr 2015 08:38:52 +0200 Subject: sws: init http2 state properly It would otherwise cause problems when running tests after 1801 etc. --- tests/server/sws.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/server/sws.c b/tests/server/sws.c index 094a92d64..9ad54e4a8 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 -- cgit v1.2.3