Add a message
This commit is contained in:
@@ -372,7 +372,7 @@ private:
|
|||||||
});
|
});
|
||||||
|
|
||||||
us_socket_context_on_long_timeout(SSL, getSocketContext(), [](auto *s) {
|
us_socket_context_on_long_timeout(SSL, getSocketContext(), [](auto *s) {
|
||||||
((WebSocket<SSL, isServer, USERDATA> *) s)->end();
|
((WebSocket<SSL, isServer, USERDATA> *) s)->end(1000, "please reconnect");
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user