websocketSecure.connect() returns too early
MurrayGroves opened this issue · 1 comments
MurrayGroves commented
.connect() returns before initiateConnection() has finished negotiating the encrypted connection. This means that if .recv() is called immediately after .connect() returns, it errors since the sessionKey has not yet been defined.
MurrayGroves commented
Fixed in #11