mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
Sending MG_WEBSOCKET_CLOSE
This commit is contained in:
1 parent
72c861bb83
commit
25863b59a6
2 files changed
+2
-1
No files matched your search
@@ -3710,6 +3710,7 @@ static void handle_websocket_request(struct mg_connection *conn) {
|
||||
send_websocket_handshake(conn);
|
||||
call_user(conn, MG_WEBSOCKET_READY);
|
||||
read_websocket(conn);
|
||||
call_user(conn, MG_WEBSOCKET_CLOSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user