git.samba.org
/
obnox
/
samba-ctdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: Make the write end of the echo responder pipe non-blocking
[obnox/samba-ctdb.git]
/
source3
/
smbd
/
process.c
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index 7fea3394223d7a24d800def47b07d01f332ebcd4..36f31dfed692210abfdcf9ac472963ab061ca817 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-2493,6
+2493,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(smbd_messaging_context(),
smbd_event_context(), false);