mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-18 16:37:13 +01:00
Internet Explorer sends "Websocket"
This commit is contained in:
parent
c455631e45
commit
92cca538f8
@ -163,7 +163,7 @@ public:
|
||||
app.logger().information(it->first + ": " + it->second);
|
||||
}
|
||||
|
||||
if(request.find("Upgrade") != request.end() && request["Upgrade"] == "websocket")
|
||||
if(request.find("Upgrade") != request.end() && Poco::icompare(request["Upgrade"], "websocket") == 0)
|
||||
return new WebSocketRequestHandler;
|
||||
else
|
||||
return new PageRequestHandler;
|
||||
|
Loading…
x
Reference in New Issue
Block a user