]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Ensure our network layer is properly cleaned up before PuTTY exits.
authorSimon Tatham <anakin@pobox.com>
Wed, 6 Mar 2002 20:13:22 +0000 (20:13 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 6 Mar 2002 20:13:22 +0000 (20:13 +0000)
commitd823341496207ac2b80a5cf11f5262d4d916f6c3
tree48c038bd9a91e085d56d3117773071f1bf0446a4
parent2550d19950a9b33b6f3f33e58cc4a24db16048b3
Ensure our network layer is properly cleaned up before PuTTY exits.
Specifically, we explicitly closesocket() all open sockets, which
appears to be necessary since otherwise Windows sends RST rather
than FIN. I'm _sure_ that's a Windows bug, but there we go.

git-svn-id: http://svn.tartarus.org/sgt/putty@1574 cda61777-01e9-0310-a592-d414129be87e
15 files changed:
console.c
misc.c
network.h
noise.c
pageant.c
plink.c
psftp.c
putty.h
puttygen.c
scp.c
ssh.c
sshrand.c
windlg.c
window.c
winnet.c