tstream: Make socketpair nonblocking
authorVolker Lendecke <vl@samba.org>
Wed, 3 Jun 2015 13:41:24 +0000 (13:41 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 3 Jun 2015 23:02:26 +0000 (01:02 +0200)
commitab26e84da15c636ecd772afcba740b307e1a5a79
treeb438fcb9c46ee693c0026ac7f86c95b3f027374a
parent2f2cdaf644337ef577de8044f1c223203d87141b
tstream: Make socketpair nonblocking

When we have a large RPC reply, we can't block in the RPC server.

Test: Do rpcclient netshareenumall with a thousand shares defined

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/named_pipe_auth/npa_tstream.c