mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Don't return an intermediate reply on async on a pipe call (Windows doesn't).
Jeremy.
This commit is contained in:
parent
f4f9d54721
commit
f11a5d196d
@ -712,6 +712,11 @@ NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req,
|
||||
}
|
||||
}
|
||||
|
||||
/* Don't return an intermediate packet on a pipe read/write. */
|
||||
if (req->tcon && req->tcon->compat_conn && IS_IPC(req->tcon->compat_conn)) {
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
reqhdr = (uint8_t *)req->out.vector[i].iov_base;
|
||||
flags = (IVAL(reqhdr, SMB2_HDR_FLAGS) & ~SMB2_HDR_FLAG_CHAINED);
|
||||
message_id = BVAL(reqhdr, SMB2_HDR_MESSAGE_ID);
|
||||
|
Loading…
Reference in New Issue
Block a user