We should return NT_STATUS_PIPE_DISCONNECTED or
NT_STATUS_PIPE_BROKEN in the same way SMB2 read/write do it.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14430
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
+ status = nt_status_np_pipe(status);
tevent_req_nterror(req, status);
return;
}
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
+ status = nt_status_np_pipe(status);
tevent_req_nterror(req, status);
return;
}