TooTallNate / Java-WebSocket

A barebones WebSocket client and server implementation written in 100% Java.
http://tootallnate.github.io/Java-WebSocket
MIT License
10.47k stars 2.57k forks source link

Allow setting custom TCP receive buffer size #1407

Closed PhilipRoman closed 5 months ago

PhilipRoman commented 5 months ago

Description

Add new setter/getter which controls the TCP receive buffer size (previously hardcoded as 16K)

Motivation and Context

This is intended to solve #1406 in a more general way

Types of changes

Checklist:

TODO

Before merging this I would like to manually verify that setting the buffer size affects performance as expected Tested, changing the buffer size affects throughput as expected

Eric-Alvarez commented 3 months ago

@PhilipRoman When is the next release planned? I'm interested in this feature as I've had issues with the current bandwith limitations.

Vangreen commented 2 months ago

@PhilipRoman Same here. We also wait for this release. Any update when release is planned?

PhilipRoman commented 2 months ago

@marci4

marci4 commented 2 months ago

1430