1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 20: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:
Simon Tatham
2011-12-08 19:15:57 +00:00
parent 8aa218e894
commit f892af999e
6 changed files with 62 additions and 9 deletions

View File

@ -170,6 +170,13 @@ int init_ucs(struct unicode_data *ucsdata, char *line_codepage,
*/
void *sk_getxdmdata(void *sock, int *lenp);
/*
* Function provided by front ends, and called by uxnet.c to indicate
* that net_pending_errors() would like to be called back when the
* front end has a spare moment and isn't deep in any other recursion.
*/
void frontend_net_error_pending(void);
/*
* General helpful Unix stuff: more helpful version of the FD_SET
* macro, which also handles maxfd.