TLSProxy::Proxy: Don't use ReuseAddr on Windows
authorRichard Levitte <levitte@openssl.org>
Thu, 18 Jan 2018 09:54:48 +0000 (10:54 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 18 Jan 2018 10:30:19 +0000 (11:30 +0100)
commit3469f386316cb0e520fa513d45e2b1f73a692449
tree2b273c1026d592a844785b377dc4cf1fdb63836d
parent634c1a6b752830d6631a9a8e7884b2f600aca696
TLSProxy::Proxy: Don't use ReuseAddr on Windows

On Windows, we sometimes see a behavior with SO_REUSEADDR where there
remains lingering listening sockets on the same address and port as a
newly created one.

An easy solution is not to use ReuseAddr on Windows.

Thanks Bernd Edlinger for the suggestion.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5103)

(cherry picked from commit e02d5886636095c26a8bff1bf8344bd0bba7ccff)
util/perl/TLSProxy/Proxy.pm