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)
committerKarolin Seeger <kseeger@samba.org>
Wed, 6 Jan 2010 10:23:13 +0000 (11:23 +0100)
commit2764612487697e2e35bede3dbf4f41c1fea0e9c7
tree2158d95f03148bf9165381911225bbcb50d64a27
parentf5e81c55a768027fc9fb72122a54913b0e5f8a2d
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)
(cherry picked from commit b58b359881c91ec382cfa1d6ba3007b8354b29cb)
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