Skip to content
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

maximum received message size? #338

Open
jheliker opened this issue Dec 18, 2023 · 0 comments
Open

maximum received message size? #338

jheliker opened this issue Dec 18, 2023 · 0 comments

Comments

@jheliker
Copy link

I have an application that utilizes Fleck, typically very reliable, however it occasionally fails to receive large (100% valid JSON) messages.

Error while reading

Fleck.WebSocketException: Exception of type 'Fleck.WebSocketException' was thrown.
   at Fleck.Handlers.Hybi13Handler.ReceiveData(List`1 data, ReadState readState, Action`2 processFrame)
   at Fleck.Handlers.Hybi13Handler.<>c__DisplayClass0_0.<Create>b__6(List`1 d)
   at Fleck.Handlers.ComposableHandler.Receive(IEnumerable`1 data)
   at Fleck.WebSocketConnection.<>c__DisplayClass59_0.<Read>b__0(Int32 r)
   at Fleck.SocketWrapper.<>c__DisplayClass24_0.<Receive>b__1(Task`1 t)
   at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Is there a way to set up for larger messages? Watching in Wireshark, I'm seeing TCP Window Full during WebSocket Continuations, and eventually a TCP Zero Window with a WebSocket Connection Close from Fleck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant