mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Arrange to call net_pending_errors on Unix, which we've never actually
remembered to do before! Also some related fixes, such as that after we do so we should immediately stop selecting on the socket in question. [originally from svn r9363]
This commit is contained in:
@ -585,6 +585,8 @@ static void version(void)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
void frontend_net_error_pending(void) {}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int sending;
|
||||
@ -1107,6 +1109,8 @@ int main(int argc, char **argv)
|
||||
back->unthrottle(backhandle, try_output(TRUE));
|
||||
}
|
||||
|
||||
net_pending_errors();
|
||||
|
||||
if ((!connopen || !back->connected(backhandle)) &&
|
||||
bufchain_size(&stdout_data) == 0 &&
|
||||
bufchain_size(&stderr_data) == 0)
|
||||
|
Reference in New Issue
Block a user