Open singularsyntax opened 1 month ago
There should be a way to increase the maximum WebSocket frame size for streaming (non-actor) stream handlers. Whenever sending large payloads through WebSockets, I'm getting this error on the server:
WebSocket stream error: payload reached size limit
As per above.
I attempted to implement solution on an in-tree branch of actix-extras, but it is not working:
https://github.com/singularsyntax/actix-extras/commit/18c17b5027d64060a0bf659eaa48f15df7efe89a
actix-*
I guess what we want is something similar to actix-web-actor's WsResponseBuilder in actix-ws.
+1 on this; this is blocking our migration from the now deprecated actix-web-actors
actix-web-actors
Expected Behavior
There should be a way to increase the maximum WebSocket frame size for streaming (non-actor) stream handlers. Whenever sending large payloads through WebSockets, I'm getting this error on the server:
Current Behavior
As per above.
Possible Solution
I attempted to implement solution on an in-tree branch of actix-extras, but it is not working:
https://github.com/singularsyntax/actix-extras/commit/18c17b5027d64060a0bf659eaa48f15df7efe89a
Steps to Reproduce (for bugs)
Context
Your Environment
actix-*
crate versions: actix-ws = "0.2.5"