8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7368027 commit 07bd519Copy full SHA for 07bd519
src/WebSocketsClient.cpp
@@ -140,6 +140,7 @@ void WebSocketsClient::loop(void) {
140
if (_client.isSSL && _client.fingerprint != NULL) {
141
if (!(((WiFiClientSecure*)_client.tcp)->verify(_client.fingerprint, _host.c_str()))) {
142
DEBUG_WEBSOCKETS("[WS-Client] certificate mismatch\n");
143
+ WebSockets::clientDisconnect(&_client, 1000);
144
return;
145
}
146
0 commit comments