1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s3:smb2_create: defer STATUS_PENDING for 2 seconds as before

metze
This commit is contained in:
Stefan Metzmacher 2011-11-14 15:50:47 +01:00
parent 88dd90d928
commit 05246ae623

View File

@ -244,7 +244,13 @@ NTSTATUS smbd_smb2_request_process_create(struct smbd_smb2_request *smb2req)
}
tevent_req_set_callback(tsubreq, smbd_smb2_request_create_done, smb2req);
return smbd_smb2_request_pending_queue(smb2req, tsubreq, 500);
/*
* For now we keep the logic that we do not send STATUS_PENDING
* for sharing violations, so we just wait 2 seconds.
*
* TODO: we need more tests for this.
*/
return smbd_smb2_request_pending_queue(smb2req, tsubreq, 2000000);
}
static uint64_t get_mid_from_smb2req(struct smbd_smb2_request *smb2req)