dcesrv_reply: just drop responses if the connection is already terminating
authorStefan Metzmacher <metze@samba.org>
Fri, 24 Nov 2023 13:42:35 +0000 (14:42 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 9 Jan 2024 11:26:55 +0000 (11:26 +0000)
commit1b6ef968d8370757cb472a1e3bfe030f8066c50d
tree39d74a89b694b33990deed77b85cf3429e3727da
parente829f5d8ec3a77acb52a22d45e61dcce03762a10
dcesrv_reply: just drop responses if the connection is already terminating

There's no reason to waste resources...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jan  9 11:26:55 UTC 2024 on atb-devel-224
librpc/rpc/dcesrv_reply.c