Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Help Wanted] How can I the default size of Codec in StreamingBody #485

Closed
MMitsuha opened this issue Dec 14, 2024 · 0 comments
Closed

[Help Wanted] How can I the default size of Codec in StreamingBody #485

MMitsuha opened this issue Dec 14, 2024 · 0 comments

Comments

@MMitsuha
Copy link

MMitsuha commented Dec 14, 2024

I have a very large packet (eg. 15 mb) to receive in websocket, But I noticed that the default size of each packet is 65536, which is defined in this line, and there is no way I can modify it through StreamingBody. How can I increase the size?

PS: I use this line to establish websocket connection:

let (response, mut session, mut stream) = actix_ws::handle(&req, body)?;
@actix actix locked and limited conversation to collaborators Dec 29, 2024
@robjtede robjtede converted this issue into discussion #491 Dec 29, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant