diff --git a/Net/src/WebSocket.cpp b/Net/src/WebSocket.cpp index 17816ad00..19031a55e 100644 --- a/Net/src/WebSocket.cpp +++ b/Net/src/WebSocket.cpp @@ -236,6 +236,7 @@ WebSocketImpl* WebSocket::completeHandshake(HTTPClientSession& cs, HTTPResponse& std::string WebSocket::createKey() { Poco::Random rnd; + rnd.seed(); std::ostringstream ostr; Poco::Base64Encoder base64(ostr); Poco::BinaryWriter writer(base64);