1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-19 13:25:26 -05:00
Simon Tatham 6c3f4b3baa The remaining issue in `win-askappend-multi' appears to have been
caused by the MessageBox() internal message loop eating WinSock
FD_READ notifications, which then don't reappear afterwards because
you have to explicitly prod a socket in order to get a repeat
notification on it.

Hence, here's a piece of infrastructure which seems to sort it out:
a new winnet.c function called socket_reselect_all(), whose function
is to go through all currently active sockets and re-run
WSAAsyncSelect() on them, causing repeat notifications for anything
we might have missed. I call this after every call to MessageBox(),
and that seems to solve the problem.

(The problem was actually masked in very recent revisions, probably
by the reinstatement of pending_netevent in r7071. However, I don't
believe that was a complete fix. This should be.)

[originally from svn r7077]
[r7071 == 57a763b0ec55b84d6a515e6d860759898d648869]
2007-01-08 19:38:39 +00:00
..
2007-01-01 21:19:14 +00:00
2007-01-01 21:19:14 +00:00
2007-01-01 21:19:14 +00:00
2007-01-01 21:19:14 +00:00
2005-04-22 15:47:28 +00:00