diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-06-09 22:34:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-24 21:04:57 +0200 |
commit | b7ea2740d5b04ab312c8052ef71429f2a43007aa (patch) | |
tree | 4dc9c2fb126a599795050a397e980f91e146b7ec /source3/smbd/smb2_write.c | |
parent | 3b25d868eef517261ff111743affe75d8199040d (diff) | |
download | samba-b7ea2740d5b04ab312c8052ef71429f2a43007aa.tar.gz samba-b7ea2740d5b04ab312c8052ef71429f2a43007aa.tar.xz samba-b7ea2740d5b04ab312c8052ef71429f2a43007aa.zip |
s3:smbd: send SMB2 interim responses for async calls
metze
Diffstat (limited to 'source3/smbd/smb2_write.c')
-rw-r--r-- | source3/smbd/smb2_write.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index ccfe3b3434..31460a01a1 100644 --- a/source3/smbd/smb2_write.c +++ b/source3/smbd/smb2_write.c @@ -108,6 +108,11 @@ NTSTATUS smbd_smb2_request_process_write(struct smbd_smb2_request *req) return smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY); } tevent_req_set_callback(subreq, smbd_smb2_request_write_done, req); + + if (tevent_req_is_in_progress(subreq)) { + return smbd_smb2_request_pending_queue(req); + } + return NT_STATUS_OK; } |