tsocket_bsd: Attempt to increase the SO_SNDBUF if we get EMSGSIZE in sendto()
commit70e1b6185e3fb35fdc72eeb529ffb4b50122dc40
authorAndrew Bartlett <abartlet@samba.org>
Mon, 4 Mar 2013 03:06:14 +0000 (4 14:06 +1100)
committerStefan Metzmacher <metze@samba.org>
Mon, 4 Mar 2013 10:15:35 +0000 (4 11:15 +0100)
tree5f5b0af8467570dc84ad2e85aec8e51c419ae07c
parent50b42d1c5bb19e3a5050d7d23ac96e273d3974ee
tsocket_bsd: Attempt to increase the SO_SNDBUF if we get EMSGSIZE in sendto()

This matches what was done for lib/socket/socket_unix.c in
c692bb02b039ae8fef6ba968fd13b36ad7d62a72.

(and is based on that patch by Landon Fuller <landonf@bikemonkey.org>)

Andrew Bartlett

Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Mar  4 11:15:35 CET 2013 on sn-devel-104
lib/tsocket/tsocket_bsd.c