summaryrefslogtreecommitdiff
path: root/tools/constants
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2016-01-23 17:29:32 +0100
committerChristian Linhart <chris@demorecorder.com>2016-02-01 09:10:04 +0100
commit095353ff1a4f611922dfc4c98b0c4bd55d9f6d4f (patch)
treed21e25c4e180d9448d86ab5b373e5693428fe9bf /tools/constants
parentb3516102b4469df99db39e0e354deae496867f35 (diff)
Increase unix socket send buffer to at least 64KB
Some systems (e.g. OpenBSD) have a rather small default socket send buffer size of 4KB. The result is that sending requests with a largish payload requires serveral writev(2) system calls. Make sure the socket send buffer is at least 64KB such that we're likely to succeed with a single system call for most requests. A similar change was made to the xtrans code some time ago. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
Diffstat (limited to 'tools/constants')
0 files changed, 0 insertions, 0 deletions