diff options
author | Richard Levitte <levitte@openssl.org> | 2018-01-17 11:22:47 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-01-19 10:09:32 +0100 |
commit | c7454e1af74b1b99f3f47f782a6ac484c4c55b7f (patch) | |
tree | 3963435cef8dd4cedec7cf2e1c322ff0f87be6bf /crypto/async/arch | |
parent | e44c7d02ddac975ec6abff7901e77a0c37f9949d (diff) | |
download | openssl-c7454e1af74b1b99f3f47f782a6ac484c4c55b7f.zip openssl-c7454e1af74b1b99f3f47f782a6ac484c4c55b7f.tar.gz openssl-c7454e1af74b1b99f3f47f782a6ac484c4c55b7f.tar.bz2 |
Create one permanent proxy socket per TLSProxy::Proxy instance
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.
To avoid this scenario, we don't create a new proxy port for each new
client run. Instead, we create one proxy socket when the proxy object
is created, and close it when destroying that object.
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5095)
Diffstat (limited to 'crypto/async/arch')
0 files changed, 0 insertions, 0 deletions