Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Calling connectWebSocket twice fails #2169
This is a minimized version of my case. The first connect is successful. But after second
And sometimes I recieve another error :
What I am missing here ? I really need to be able to two sockets at the same time.
Is this restriction by protocol ? Because in my application I need to open ~40 sockets at the same time.
With your pushes now the simple case I send is working(God bless you man I am really blocked by that). But program still crushes time to time since I open more sockets. There is a separate issue which close() is causing a freeze but I opened another ticket about it
The current crush is can be seen below. But unfortunately I don't have a minimal example to present it. I will try to reproduce it with a minimal example
core.exception.AssertError@../../.dub/packages/vibe-core-1.4.0/vibe-core/source/vibe/core/net.d(575): Assertion failure