chiark / gitweb /
util: try harder to increase the send/recv buffers of sockets
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Dec 2013 16:04:36 +0000 (17:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Dec 2013 16:04:36 +0000 (17:04 +0100)
commit92d75ca419994f3924dc14117b71f8706d9e1f57
tree1d29d8786b40df5354c4ef6412e08c69ba3d5f25
parent4b8268f843b0da1cfe1995d93a0b1f95faccc454
util: try harder to increase the send/recv buffers of sockets

If we have the priviliges we will try SO_SNDBUFFORCE/SO_RCVBUFFORCE and
only fall back to SO_SNDBUF/SO_RCVBUF if that fails.
src/shared/util.c