aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-27 08:38:52 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-04-27 08:38:52 +0200
commit1945f99d599a310177ef11cd9d22131bb990845d (patch)
treeb0a66efd6e88ef5d7c0e54c819df17177e08389d
parentb55cb2eef28624f35f667fd51a3cda731f047110 (diff)
sws: init http2 state properly
It would otherwise cause problems when running tests after 1801 etc.
-rw-r--r--tests/server/sws.c2
1 files changed, 2 insertions, 0 deletions
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