Support expect continue in upgrade.

Closes #264.
This commit is contained in:
Klemens Morgenstern
2022-10-10 17:31:09 +08:00
committed by Klemens Morgenstern
parent b30e4fbbda
commit b0c49748a2
4 changed files with 126 additions and 1 deletions

View File

@@ -137,7 +137,7 @@ receive_expect_100_continue(
return;
// Check for the Expect field value
if(parser.get()[field::expect] == "100-continue")
if(beast::iequals(parser.get()[field::expect], "100-continue"))
{
// send 100 response
response<empty_body> res;