Merge branch 'development' into LTS_development

# Conflicts:
#	src/output/output.cpp
This commit is contained in:
Thulinma 2018-08-30 13:53:21 +02:00
commit c392e3f6f9
3 changed files with 16 additions and 8 deletions

View file

@ -268,6 +268,7 @@ namespace Mist {
//Handle upgrade to websocket if the output supports it
if (doesWebsockets() && H.GetHeader("Upgrade") == "websocket"){
INFO_MSG("Switching to Websocket mode");
setBlocking(false);
preWebsocketConnect();
webSock = new HTTP::Websocket(myConn, H);
if (!(*webSock)){