Evan Hunt
bdc49a0650
fix handling of tcp connection errors
...
- a bug that was already fixed in tcpdns.c and tlsdns.c had been
left unfixed in tcp.c: we needed to check whether the socket() call
succeeds before attempting any asynchronous connection code.
this corrects a problem that occurred when uv__socket() failed
with too many open files.
- also corrected the behavior of nm_connectcb(). previously, it was
forcing synchronous execution when force_async was false. what we
want is to force asynchronous execution if force_async is true. if
force_async is false, we want it to decide based on whether we're in
the network thread.
2021-02-10 20:16:33 -08:00
..
2021-02-10 15:07:41 -08:00
2021-02-10 20:16:33 -08:00
2020-12-21 15:09:57 +01:00
2021-02-10 15:07:41 -08:00
2020-12-08 18:36:23 +01:00
2021-02-10 15:07:41 -08:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-10-22 11:37:16 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:06:17 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:06:17 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-01-25 09:19:22 +01:00
2021-01-25 09:19:22 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-12-01 16:47:07 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-12-08 18:36:23 +01:00
2020-12-08 18:36:23 +01:00
2020-11-10 14:16:27 +01:00
2021-02-03 12:22:33 +11:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-11-10 14:16:27 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-02-08 12:43:22 -08:00
2020-09-14 16:20:40 -07:00
2021-02-03 12:06:17 +01:00
2020-09-14 16:20:40 -07:00