(websocket server) Handle and accept firefox browser special upgrade value (keep-alive, Upgrade)

This commit is contained in:
Benjamin Sergeant
2021-05-27 10:54:10 -07:00
parent 97fedf9482
commit e3c98a03cc
5 changed files with 12 additions and 4 deletions

View File

@ -137,7 +137,7 @@ namespace ix
{
contentLength = std::stoi(headers["Content-Length"]);
}
catch(const std::exception&)
catch (const std::exception&)
{
return std::make_tuple(
false, "Error parsing HTTP Header 'Content-Length'", httpRequest);