Commit 1945f99d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

sws: init http2 state properly

It would otherwise cause problems when running tests after 1801 etc.
parent b55cb2ee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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