You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for setting rcvbuf buffer size on a socket
This PR allows users to set the buffer size on receive operations via the
`socket:setopt/3` function, using the `{otp, rcvbuf}` configuration option.
This PR addresses Issue #896
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
The OTP socket implementation currently has a 512 byte hard-worked buffer limit.
In the OTP socket api, the method to adjust the buffer size is via the
socket:setopt/3
function. https://www.erlang.org/doc/man/socket#setopt-3E.g.,
This functionality needs to be implemented.
The text was updated successfully, but these errors were encountered: