mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
sws: init http2 state properly
It would otherwise cause problems when running tests after 1801 etc.
This commit is contained in:
parent
b55cb2eef2
commit
1945f99d59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user