diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-04-27 08:38:52 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-04-27 08:38:52 +0200 |
commit | 1945f99d599a310177ef11cd9d22131bb990845d (patch) | |
tree | b0a66efd6e88ef5d7c0e54c819df17177e08389d /tests/server | |
parent | b55cb2eef28624f35f667fd51a3cda731f047110 (diff) |
sws: init http2 state properly
It would otherwise cause problems when running tests after 1801 etc.
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/sws.c | 2 |
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 |