websocket server close message bug

This commit is contained in:
Adam D. Ruppe 2024-05-09 10:26:55 -04:00
parent 33838ac82f
commit f406065507
1 changed files with 3 additions and 1 deletions

4
cgi.d
View File

@ -7389,7 +7389,9 @@ version(cgi_with_websocket) {
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