s4:service_named_pipe: make use of tstream_bsd_fail_readv_first_error(true)
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Jan 2023 09:46:56 +0000 (10:46 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 24 Oct 2023 09:36:38 +0000 (09:36 +0000)
commit27b2ca7d8d725b374aef97c11e0650686cfadbd3
treec0577d6af85632d35cdf06a12fc4edec89ac83ee
parent8e8f2fa9c7f1e2cb8a296755a8c0aba6a2d22b54
s4:service_named_pipe: 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/samba/service_named_pipe.c