]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Make Windows sockets non-inheritable
authorOwen Dunn <owen@greenend.org.uk>
Sun, 19 Feb 2017 13:49:12 +0000 (13:49 +0000)
committerOwen Dunn <owen@greenend.org.uk>
Sun, 19 Feb 2017 14:04:58 +0000 (14:04 +0000)
When we create a socket with socket() (in try_connect, sk_newlistener, and
ipv4_is_local_addr) also call SetHandleInformation to disable handle
inheritance for this socket.  This fixes dup-sessions-dont-close.


No differences found