forked from vtortola/WebSocketListener
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi Denis,
I've finally looped around to convert from Val's code base to yours. I'm encountering a problem when I attempt to run using the rx code.
When the message tries to send, it is getting locked on the following code
public void BeginWriting()
{
if (Interlocked.CompareExchange(ref this.ongoingMessageWrite, 1, 0) == 1)
throw new WebSocketException("There is an ongoing message that is being written from somewhere else. Only a single write is allowed at the time.");
}
The first message send is ok, but is never received and the second send is blocked here so appears the message is failing to be dequeued/sent.
Any idea why this might be ?
Regards.
Metadata
Metadata
Assignees
Labels
No labels