1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/lib/socket
Andrew Bartlett 50b42d1c5b s4-lib/socket: Return the original EMSGSIZE when sendto() and setsockopt() both fail
This ensures that should we be unable to increase the socket size, we return an
error that the application layer above might expect and be able to make
as reasonable response to (such as switching to a stream-based transport).

This fixes up c692bb02b0.

As suggested by metze in https://bugzilla.samba.org/show_bug.cgi?id=9697#c4

Andrew Bartlett

Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-03-04 08:38:23 +01:00
..
access.c s4-socket: rename allow_access() to socket_allow_access() 2011-05-03 07:37:07 +02:00
connect_multi.c s4:lib/socket: add socket_connect_multi_ex_* 2011-11-30 13:41:08 +01:00
connect.c s4:lib: use tevent_ fns names instead of legcay event_ ones 2011-08-13 09:54:16 -04:00
interface.c lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and server 2012-07-27 17:59:51 +10:00
netif.h lib/socket move interfaces code to the top level 2011-05-08 12:57:04 +02:00
socket_ip.c s3: Fix the clustering build 2011-12-17 18:41:39 +01:00
socket_unix.c s4-lib/socket: Return the original EMSGSIZE when sendto() and setsockopt() both fail 2013-03-04 08:38:23 +01:00
socket.c s4-socket: do not segfault if the socket is NULL 2011-11-01 19:02:52 +01:00
socket.h s4:lib/socket: add socket_connect_multi_ex_* 2011-11-30 13:41:08 +01:00
testsuite.c s4-ipv6: update callers to load_interface_list() 2011-06-06 12:26:10 +10:00
wscript_build cli_composite: Lowercase name. 2011-07-26 13:31:09 +02:00