diff options
author | Micael Karlberg <[email protected]> | 2019-01-29 12:41:19 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-01-29 12:41:19 +0100 |
commit | 3d166efe4f3ee6a93edf361a9d72633a00fb486f (patch) | |
tree | 0f4e8866b0d6f264862f4ac842a4782f2108a693 /lib/syntax_tools | |
parent | fe540a9079ea58f8b9b85069ff1558ce7a98f915 (diff) | |
download | otp-3d166efe4f3ee6a93edf361a9d72633a00fb486f.tar.gz otp-3d166efe4f3ee6a93edf361a9d72633a00fb486f.tar.bz2 otp-3d166efe4f3ee6a93edf361a9d72633a00fb486f.zip |
[socket-nif] The otp rcvbuf option updated
Its now possible to set a rcvbuf (otp) option value
of {N :: pos_integer(), BufSz :: pos_integer()}.
This value is used for type stream and protocol tcp,
when calling the function recv with length = 0 (zero).
The second value, BufSz, is the actual size of the receive
buffer used when calling the socket recv function, and
the first value, N, is the max number of possible reads
that will be performed (at most), even if there is more
data to read. This is limit the effect of DoS attacks.
OTP-15497
Diffstat (limited to 'lib/syntax_tools')
0 files changed, 0 insertions, 0 deletions