]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Implement freezing on Windows handle sockets.
authorSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2013 14:03:48 +0000 (14:03 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 17 Nov 2013 14:03:48 +0000 (14:03 +0000)
commit89d4488b580e56be587fb53b87670130d6ede2da
tree4d2cb80226849d9ed20e0505259ca268e3bfdd50
parent4b8d7147733f0f42ae448d8676139e909110d492
Implement freezing on Windows handle sockets.

That's been a FIXME in the code for ages, because it's difficult to
get winhandl.c to stop an already-started read from a handle (since
the read is a blocking system call running in a separate thread). But
I now realise it isn't absolutely necessary to do so - you can just
buffer one lot of data from winhandl and _then_ tell it to stop.

git-svn-id: http://svn.tartarus.org/sgt/putty@10067 cda61777-01e9-0310-a592-d414129be87e
windows/winhsock.c