[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed Oct 6 07:58:02 MDT 2010


The branch, master has been updated
       via  342c79e s3: Make the write end of the echo responder pipe non-blocking
      from  312d097 s3-build: use the simpler "make bin/smbtorture" for s4 torture

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 342c79e26544ee5345a9d54f68f774d7ce07e530
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Oct 6 15:05:59 2010 +0200

    s3: Make the write end of the echo responder pipe non-blocking
    
    Without this, we can get a writable pipe end, but the writev call on the pipe
    will block.
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Wed Oct  6 13:57:30 UTC 2010 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/process.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 8d36dd3..07fa674 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2839,6 +2839,7 @@ static bool fork_echo_handler(struct smbd_server_connection *sconn)
 		NTSTATUS status;
 
 		close(listener_pipe[0]);
+		set_blocking(listener_pipe[1], false);
 
 		status = reinit_after_fork(sconn->msg_ctx,
 					   smbd_event_context(),


-- 
Samba Shared Repository


More information about the samba-cvs mailing list