s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume lsa_pipe_tcp...
commit6166e1809516e6ab5911b56b20a4128b088828cf
authorStefan Metzmacher <metze@samba.org>
Tue, 6 Apr 2010 12:14:53 +0000 (6 14:14 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 13 Apr 2010 18:18:51 +0000 (13 20:18 +0200)
tree346248fdc99d1b1a063c49caaa2b5e3b112939f3
parent67b51cc9e773fcbbc2b942a1de256e2c5b695008
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