Closed andre2007 closed 3 years ago
I betcha it is just the connection timing out since it never sends. Phobos doesn't detect Windows timeouts right. That seems to be what I'm seeing on Wine, lemme try my laptop too.
You compiling for Windows 64 bit?
Yes, compiling for windows x86_64.
One observation from my real application: onOpen and onClose is called fine (writeln debug) if there is no data sent back from server to client.
In case there is data, the error is thrown after onOpen is called.
I think I just found it, I handled timeout Unix style with a direct retry, but on Windows a timeout requires the ReadSet to be reconstructed. Just pushed to master, see if it works well for you now.
I also changed the openssl load because my test rig didn't have the dlls, it should work better now but lmk if that broke too.
Thanks a lot :) This solved the issue.
WebSocket client is raising error
Socket select error: An invalid argument was supplied
.I reduced it to this coding: (While it says version 9.1.2, it is actually
master
)Python: