Added MG_WS_CONNECT

This commit is contained in:
Sergey Lyubka committed 2014-06-09 16:32:56 +01:00
1 parent 50a889dac0
commit 64b51699f8
2 files changed
+2

No files matched your search

+1
View File
@@ -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);
}
}