summaryrefslogtreecommitdiffstats
path: root/source3/smbd/blocking.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-10 10:01:26 +0100
committerVolker Lendecke <vl@samba.org>2009-01-16 13:00:28 +0100
commitba981128ac0ba5b6b6f865d72a26509fb52a4a3e (patch)
tree2a3ddf28bf25e0cd63af1fed77004d0feff77ad1 /source3/smbd/blocking.c
parent740c5ce08138bca3c44dc3cccdd75abdb83752d5 (diff)
downloadsamba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.tar.gz
samba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.tar.xz
samba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.zip
Add a new implementation of chain_reply
This the global variable "orig_inbuf" in the old chain_reply code. This global variable was one of the reasons why we had the silly restriction to not allow async requests within a request chain.
Diffstat (limited to 'source3/smbd/blocking.c')
-rw-r--r--source3/smbd/blocking.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index cccc5ce727a..9936fb219fc 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -238,12 +238,6 @@ static void reply_lockingX_success(blocking_lock_record *blr)
*/
chain_reply(blr->req);
-
- if (!srv_send_smb(smbd_server_fd(), (char *)blr->req->outbuf,
- IS_CONN_ENCRYPTED(blr->fsp->conn))) {
- exit_server_cleanly("send_blocking_reply: srv_send_smb failed.");
- }
-
TALLOC_FREE(blr->req->outbuf);
}