Internet Explorer sends "Websocket"

This commit is contained in:
fbraem 2014-11-27 22:49:26 +01:00
parent c455631e45
commit 92cca538f8

View File

@ -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;