]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - misc.c
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)
commitdac0d4569960236264898b112707c2b574eb285b
tree48c038bd9a91e085d56d3117773071f1bf0446a4
parentf1ece56e40435efdf8eaeb2b11b34d73ee3f4a22
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.

[originally from svn r1574]
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