From 342c79e26544ee5345a9d54f68f774d7ce07e530 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 6 Oct 2010 15:05:59 +0200 Subject: 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 Autobuild-Date: Wed Oct 6 13:57:30 UTC 2010 on sn-devel-104 --- source3/smbd/process.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 8d36dd3c89..07fa67477d 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(), -- cgit