s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume lsa_pipe_tcp...
authorBo Yang <boyang@samba.org>
Wed, 6 Jan 2010 04:13:35 +0000 (12:13 +0800)
committerBo Yang <boyang@samba.org>
Wed, 6 Jan 2010 11:26:09 +0000 (19:26 +0800)
commitb58b359881c91ec382cfa1d6ba3007b8354b29cb
tree3e1dc332bb2b62c8aa527a3dd82a01d4b74755b7
parent0272f44061fa9205bb744e286b6203e15e157a6e
s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume lsa_pipe_tcp is ok but network is down, then send request is ok, but select() on writeable fds loops forever since there is no response.

Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit 36493bf2f6634b84c57107bcb86bcbf3e82e80fc)
source3/include/proto.h
source3/rpc_client/cli_pipe.c
source3/rpc_client/ndr.c
source3/rpc_client/rpc_transport_np.c
source3/rpc_client/rpc_transport_smbd.c
source3/rpc_client/rpc_transport_sock.c
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_rpc.c