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

Closed
wants to merge 1 commit into from

Conversation

flpanbin
Copy link
Contributor

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
Contributor Author

@tsl0922 PTAL

@tsl0922 tsl0922 force-pushed the main branch 2 times, most recently from c5cac12 to 4dad131 Compare November 26, 2024 15:38
@tsl0922
Copy link
Owner

tsl0922 commented Jan 31, 2025

db77fde

@tsl0922 tsl0922 closed this Jan 31, 2025
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.

2 participants