Sending large chunks of data
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I'm currently creating a client that tries to send a large chunk of data (a PDF as a Base64 encoded string). I do manage so send a small string using the send method. But it fails with ""The sending has been interrupted." when trying to send the PDF (using myClient.Send(string) ).
I've also managed to create a server (using websocket-sharp) that when requested by a client returns the PDF using the Send method and this works without any issues.
I've also tried using the SendAsync without any success...
Any pointers? I assume that there's some limitation in the client's send capabilitites?
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
Reproduce the failure with the client Send method and SendAsync using the Base64-encoded PDF, then compare it with the server's successful Send response. Trace the client send path and the handling of "The sending has been interrupted." Done means identifying whether a client payload limit or another failure is responsible and documenting or fixing the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100