1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/tsocket
Stefan Metzmacher 71e8727bdc lib/tsocket: add tstream_bsd_fail_readv_first_error()
This gives the caller the option to fail immediately if
TEVENT_FD_ERROR appear even with pending bytes in the
recv queue.

Servers typically want to activate this in order to avoid
pointless work, while clients typically want to read
pending responses from the recv queue.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-10-24 09:36:37 +00:00
..
tests tsocket: Increase tcp_user_timeout max_loops 2023-03-14 06:16:30 +00:00
doxy.config
tsocket_bsd.c lib/tsocket: add tstream_bsd_fail_readv_first_error() 2023-10-24 09:36:37 +00:00
tsocket_guide.txt lib:tsocket: Fix code spelling 2023-04-14 05:25:33 +00:00
tsocket_helpers.c lib/tsocket: Free subreq as soon as possible 2021-07-08 10:21:25 +00:00
tsocket_internal.h
tsocket.c
tsocket.h lib/tsocket: add tstream_bsd_fail_readv_first_error() 2023-10-24 09:36:37 +00:00
wscript tsocket: Fix the build on FreeBSD 2022-12-12 21:16:33 +00:00