summaryrefslogtreecommitdiff
path: root/lib/libc/arch/arm/sys
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2015-09-09 08:12:47 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2015-09-09 08:12:47 +0000
commit3498210f4265efd6c30b524f09f673371b9e827d (patch)
treedb6e43e47eeff5370b71136fdb8ec7c327c33c51 /lib/libc/arch/arm/sys
parent988c2799f7461bf81bd49a9805b843a78039ecdd (diff)
To double the receive buffer of a socketpair does not help as sending
checks the send buffer size. So double both buffer sizes. Moreover the default for sending is 2048 and for receiving is 4096. This makes the existing double buffer algorithm inconsistent. It is better to make the buffers large enough to hold 8 full length messages. Just make sure that it does not shrink. Keep the approach that doubles the buffer sizes. When we are low on buffers and cannot reach the full size, increase it as much as possible. While there, add consistent error messages. OK benno@
Diffstat (limited to 'lib/libc/arch/arm/sys')
0 files changed, 0 insertions, 0 deletions