commit | f0382899c71a540103ba2dbcd0fe8aa8c926c4a8 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Wed Jul 30 17:17:13 2014 +0900 |
committer | Paul Jensen <pauljensen@google.com> | Wed Jul 30 17:31:04 2014 +0000 |
tree | 2473a5e45c92155cc776d8cd12fff62909f4fe03 | |
parent | af4d04cab6d48ae0d6a5e79bd30f679af87abaad [diff] |
Use a new socket for each of the host's IP addresses. If Socket.connect() times out, the socket cannot be used any more - any attempt to do so fails with EBADF. Use a new socket for each IP address. Bug: 16664129 Change-Id: If3616df86f7c2da0eabd30dca5db65d0da85cb17