diff options
author | Micael Karlberg <[email protected]> | 2018-11-26 12:33:09 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-12-05 11:02:00 +0100 |
commit | c4e29690e5a57004f494d35ae7d5b9e00f624d76 (patch) | |
tree | c71d25ff00f12230ff4c0b9724320aa897488336 /erts | |
parent | 8d66078550e372f134d11afdf1075aa386195b6b (diff) | |
download | otp-c4e29690e5a57004f494d35ae7d5b9e00f624d76.tar.gz otp-c4e29690e5a57004f494d35ae7d5b9e00f624d76.tar.bz2 otp-c4e29690e5a57004f494d35ae7d5b9e00f624d76.zip |
[socket-nif] Increased the default read buffer size
The default read buffer size was 2K and has now been
increased to 8K.
OTP-14831
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/nifs/common/socket_nif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/nifs/common/socket_nif.c b/erts/emulator/nifs/common/socket_nif.c index f657da3ace..cc11bb159f 100644 --- a/erts/emulator/nifs/common/socket_nif.c +++ b/erts/emulator/nifs/common/socket_nif.c @@ -436,7 +436,7 @@ static void (*esock_sctp_freepaddrs)(struct sockaddr *addrs) = NULL; #define SOCKET_RECV_FLAG_LOW SOCKET_RECV_FLAG_CMSG_CLOEXEC #define SOCKET_RECV_FLAG_HIGH SOCKET_RECV_FLAG_TRUNC -#define SOCKET_RECV_BUFFER_SIZE_DEFAULT 2048 +#define SOCKET_RECV_BUFFER_SIZE_DEFAULT 8192 #define SOCKET_RECV_CTRL_BUFFER_SIZE_DEFAULT 1024 #define SOCKET_SEND_CTRL_BUFFER_SIZE_DEFAULT 1024 |