mirror of https://github.com/adamdruppe/arsd.git
websocket server close message bug
This commit is contained in:
parent
33838ac82f
commit
f406065507
4
cgi.d
4
cgi.d
|
@ -7389,7 +7389,9 @@ version(cgi_with_websocket) {
|
||||||
|
|
||||||
cgi.flush();
|
cgi.flush();
|
||||||
|
|
||||||
return new WebSocket(cgi);
|
auto ws = new WebSocket(cgi);
|
||||||
|
ws.readyState_ = WebSocket.OPEN;
|
||||||
|
return ws;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME get websocket to work on other modes, not just embedded_httpd
|
// FIXME get websocket to work on other modes, not just embedded_httpd
|
||||||
|
|
Loading…
Reference in New Issue