]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit9093071faaddeb52428d6f1f3afccb1ac4d9ad48
tree4d2cb80226849d9ed20e0505259ca268e3bfdd50
parent98a6a3553cdfc1da0ed8d13a2b9f76863e42646f
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.

[originally from svn r10067]
windows/winhsock.c