1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

winbind: Set the parent->child sock nonblocking

The parent goes through wb_simple_trans_send(), which deals with short
writes fine.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Volker Lendecke 2020-03-20 12:17:08 +01:00 committed by Stefan Metzmacher
parent 0e50ed1936
commit 8946531f1f

View File

@ -1688,6 +1688,7 @@ static bool fork_domain_child(struct winbindd_child *child)
}
child->sock = fdpair[1];
set_blocking(child->sock, false);
return True;
}