Workaround an IO::Socket::IP bug
authorMatt Caswell <matt@openssl.org>
Mon, 16 May 2016 15:54:28 +0000 (16:54 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 16 May 2016 16:19:55 +0000 (17:19 +0100)
commit6ae545248109710365189047ba945700ab8afff3
treeb911b91f0b5828cc763b752b34d7e32b5f0bd4e7
parent5c4328f04f63bc288d4e069e1453ab18b0309f16
Workaround an IO::Socket::IP bug

Workaround an apparent IO:Socket::IP bug where a seemingly valid
server socket is being returned even though a valid connection does not
exist. This causes the tests to intermittently hang. We additionally check
that the peerport looks ok to verify that the returned socket looks usable.

Reviewed-by: Richard Levitte <levitte@openssl.org>
util/TLSProxy/Proxy.pm