s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume lsa_pipe_tcp...
authorStefan Metzmacher <metze@samba.org>
Tue, 6 Apr 2010 12:14:53 +0000 (14:14 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 7 Apr 2010 11:59:15 +0000 (13:59 +0200)
commitf6d3cf3d41d5342066e247f908439aba2f2807db
tree8e85a80e6320babb64a00d53ffc48442bd51ff08
parente7b7fb1fa73fa255c2958773738bf19e68992b61
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)
(similar to commit b58b359881c91ec382cfa1d6ba3007b8354b29cb)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_client/rpc_transport_sock.c