-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large messages on .NET 6 fail to send #21
Comments
This is on the base H.Pipes library, with no formatter libraries installed/in-use |
Are you using Windows or another OS? |
Windows 11 |
This is rather odd given that our tests are run on Windows and include cases where there is a 1MB data transfer. My local tests on Windows 11 also complete gracefully. |
This is the sendcode I use
This is after I implemented chunking to work around my issue. Previously it was just one message, which was the contents of a 50MB file encoded in base64
The pipe server is just set to
|
Clarification, this happens when used on a local network. When transferring between computers. |
Most likely fixed in the latest update. |
sweet I'll try it out! |
this looks like a limit of 64kb |
Describe the bug
When transferring messages larger than 65535 bytes on .NET 6 the server throws an exception stating
Steps to reproduce the bug
Send the contents of a 1MB file over the channel and catch the exception
Same issue whether I send a serializable object or a standard string
Expected behavior
No response
Screenshots
No response
NuGet package version
No response
Platform
Console
IDE
Visual Studio 2022
Additional context
Seems to be related to this:
H.Pipes/src/libs/H.Pipes/IO/PipeStreamReader.cs
Line 72 in 9299ffd
The text was updated successfully, but these errors were encountered: