s4:ldap_server: make use of tstream_bsd_fail_readv_first_error(true)
commite897ccd9c8adb64a412d4ea67a58efe493b91910
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Jan 2023 09:39:48 +0000 (12 10:39 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 24 Oct 2023 09:36:37 +0000 (24 09:36 +0000)
treeb5c3b524631ef1f91f6e6e8970c7797126ae455b
parent3a47a276fdec7ab2610023d220fb05c6a15d790f
s4:ldap_server: make use of tstream_bsd_fail_readv_first_error(true)

This avoids doing useless work in case the client connection
is already broken.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/ldap_server/ldap_server.c