1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

sws: init http2 state properly

It would otherwise cause problems when running tests after 1801 etc.
This commit is contained in:
Daniel Stenberg 2015-04-27 08:38:52 +02:00
parent b55cb2eef2
commit 1945f99d59

View File

@ -913,6 +913,8 @@ static void init_httprequest(struct httprequest *req)
req->callcount = 0; req->callcount = 0;
req->connect_port = 0; req->connect_port = 0;
req->done_processing = 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 /* returns 1 if the connection should be serviced again immediately, 0 if there