Add explicit port number to WebSocket test

This commit is contained in:
Paul-Louis Ageneau
2020-11-09 19:12:34 +01:00
parent 202d2cb5e4
commit 037b9c9703

View File

@ -63,7 +63,7 @@ void test_websocket() {
} }
}); });
ws->open("wss://echo.websocket.org/"); ws->open("wss://echo.websocket.org:443/");
int attempts = 10; int attempts = 10;
while ((!ws->isOpen() || !received) && attempts--) while ((!ws->isOpen() || !received) && attempts--)