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

support setting service buffer size #1404

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

flpanbin
Copy link

Pull Request Summary:

This pull request introduces a new flags: --serv_buffer_size, to support setting the websocket service buffer size.

Why need the PR ?

According to libwebsockets, default buffer size is 4096 bytes. If the data being transmitted is too large, the connection might get disconnected. Adjusting the size of the buffer can fix this issue.

Test Result:
image

@flpanbin flpanbin changed the title support setting service buffer size. support setting service buffer size Oct 29, 2024
@flpanbin
Copy link
Author

@tsl0922 PTAL

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

Successfully merging this pull request may close these issues.

1 participant