Skip to content

Commit

Permalink
sws: init http2 state properly
Browse files Browse the repository at this point in the history
It would otherwise cause problems when running tests after 1801 etc.
  • Loading branch information
bagder committed Apr 27, 2015
1 parent b55cb2e commit 1945f99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/server/sws.c
Expand Up @@ -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
Expand Down

0 comments on commit 1945f99

Please sign in to comment.