]> git.ipfire.org Git - thirdparty/openssl.git/commit
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 09:56:20 +0000 (10:56 +0100)
commite02d5886636095c26a8bff1bf8344bd0bba7ccff
treeebea023bc1af55560e7a56c5e78566e02bb58f80
parent9db6673e23ab47bb7ee1304c078125bff66141b7
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)
util/perl/TLSProxy/Proxy.pm