Cory Benfield
707b413ec6
Synchronous connection failures must close channels. ( #329 )
...
Motivation:
When a connect() call returns an error other than EINPROGRESS, we
currently leave the FD registered and don't close the channel. This is
wrong, we should take this as a signal to close the socket immediately,
rathern than letting the selector tell us this FD is dead: after all,
we know it's dead.
Modifications:
Call `close0()` in synchronous connect failures.
Result:
Faster failures!
2018-04-18 16:07:05 +01:00
..
2018-02-08 11:21:55 +00:00
2018-04-16 19:36:47 +02:00
2018-04-18 16:07:05 +01:00
2018-03-02 15:40:52 +09:00
2018-04-16 19:36:47 +02:00
2018-04-09 15:11:01 +02:00
2018-04-09 15:11:01 +02:00
2018-04-17 13:07:15 +01:00
2018-04-18 10:04:12 +01:00
2018-03-19 19:38:24 +01:00
2018-04-16 20:57:03 +02:00
2018-03-21 11:15:12 +01:00
2018-03-02 15:40:52 +09:00
2018-04-10 16:07:53 +02:00
2018-03-02 15:40:52 +09:00
2018-04-04 12:57:31 +01:00
2018-04-03 11:44:14 +01:00
2018-03-22 17:36:10 +01:00
2018-03-27 19:04:33 +02:00
2018-04-16 19:36:47 +02:00
2018-04-09 17:42:35 +01:00
2018-03-02 15:40:52 +09:00
2018-03-12 13:27:42 +01:00
2018-04-03 11:44:14 +01:00
2018-03-28 10:49:05 +02:00
2018-03-21 01:14:47 +09:00
2018-03-28 17:06:05 +01:00
2018-03-03 09:04:57 +09:00
2018-03-19 14:43:38 +01:00
2018-03-19 14:43:38 +01:00
2018-04-16 19:36:47 +02:00
2018-04-03 11:44:14 +01:00
2018-04-03 11:44:14 +01:00
2018-04-18 10:04:12 +01:00
2018-03-22 17:36:10 +01:00
2018-04-03 11:44:14 +01:00
2018-04-13 15:20:47 +02:00
2018-03-28 17:06:05 +01:00
2018-03-02 15:40:52 +09:00
2018-03-02 15:40:52 +09:00
2018-02-28 09:46:29 +00:00
2018-04-16 19:36:47 +02:00
2018-03-13 15:09:13 +00:00
2018-03-20 19:11:42 +01:00
2018-03-19 14:43:38 +01:00
2018-04-16 19:36:47 +02:00
2018-03-28 10:49:05 +02:00
2018-04-03 11:44:14 +01:00
2018-03-03 10:16:39 +09:00
2018-03-16 23:53:16 +09:00