mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-24 11:54:49 +00:00
Added MG_WS_CONNECT
This commit is contained in:
1 parent
50a889dac0
commit
64b51699f8
2 files changed
+2
No files matched your search
@@ -2734,6 +2734,7 @@ static void send_websocket_handshake_if_requested(struct mg_connection *conn) {
|
||||
if (call_user(MG_CONN_2_CONN(conn), MG_WS_HANDSHAKE) == MG_FALSE) {
|
||||
send_websocket_handshake(conn, key);
|
||||
}
|
||||
call_user(MG_CONN_2_CONN(conn), MG_WS_CONNECT);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user