Appends when the WebSocket is closed
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
c# exception:System.ArgumentOutOfRangeException: Number must be either non-negative and less than or equal to Int32.MaxValue or -1.
Parameter name: timeout
at System.Threading.WaitHandle.WaitOne (System.TimeSpan timeout, System.Boolean exitContext) [0x00026] in :0
at System.Threading.WaitHandle.WaitOne (System.TimeSpan timeout) [0x00000] in :0
at WebSocketSharp.WebSocket.closeHandshake (WebSocketSharp.PayloadData payloadData, System.Boolean send, System.Boolean receive, System.Boolean received) [0x00059] in <583fc2c8ef584058bdb5e96261e9f743>:0
at WebSocketSharp.WebSocket.close (WebSocketSharp.PayloadData payloadData, System.Boolean send, System.Boolean receive, System.Boolean received) [0x000a1] in <583fc2c8ef584058bdb5e96261e9f743>:0
at WebSocketSharp.WebSocket.close (System.UInt16 code, System.String reason) [0x00058] in <583fc2c8ef584058bdb5e96261e9f743>:0
at WebSocketSharp.WebSocket.Close () [0x00001] in <583fc2c8ef584058bdb5e96261e9f743>:0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at WebSocket.Close(), then follow close() and closeHandshake() in the stack trace to inspect the timeout passed to WaitHandle.WaitOne. Reproduce the reported exception when closing the WebSocket and determine the expected behavior for this close path; done means closing no longer raises the reported ArgumentOutOfRangeException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100