summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_write.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-06-09 22:34:14 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-24 21:04:57 +0200
commitb7ea2740d5b04ab312c8052ef71429f2a43007aa (patch)
tree4dc9c2fb126a599795050a397e980f91e146b7ec /source3/smbd/smb2_write.c
parent3b25d868eef517261ff111743affe75d8199040d (diff)
downloadsamba-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.c5
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;
}