Willy Tarreau
ada4c5806b
MEDIUM: stream-int: make sure to try to immediately validate the connection
...
In the rare case of immediate connect() (unix sockets, socket pairs, and
occasionally TCP over the loopback), it is counter-productive to subscribe
for sending and then getting immediately back to process_stream() after
having passed through si_cs_process() just to update the connection. We
already know it is established and it doesn't have any handshake anymore
so we just have to complete it and return to process_stream() with the
stream_interface in the SI_ST_RDY state. In this case, process_stream will
simply loop back to the beginning to synchronize the state and turn it to
SI_ST_EST/ASS/CLO/TAR etc.
This will save us from having to needlessly subscribe in the connect()
code, something which in addition cannot work with edge-triggered pollers.
2020-03-04 19:29:12 +01:00
..
2020-01-20 14:01:52 +01:00
2020-02-14 19:02:06 +01:00
2020-01-20 15:18:45 +01:00
2019-10-11 16:05:57 +02:00
2020-02-28 16:41:29 +01:00
2020-03-04 19:29:12 +01:00
2020-02-26 10:39:36 +01:00
2020-02-25 09:35:07 +01:00
2020-02-25 11:28:58 +01:00
2020-02-25 08:16:33 +01:00
2020-02-25 08:16:33 +01:00
2020-01-07 10:51:15 +01:00
2020-02-21 11:21:12 +01:00
2020-02-25 08:16:33 +01:00
2020-03-03 18:19:04 +01:00
2020-03-04 19:29:12 +01:00
2020-03-04 12:04:07 +01:00
2020-02-28 10:26:29 +01:00
2020-02-26 14:36:27 +01:00
2020-02-25 07:41:47 +01:00
2020-02-25 07:41:47 +01:00
2020-02-25 07:41:47 +01:00
2020-02-25 07:41:47 +01:00
2020-02-25 08:16:33 +01:00
2020-02-25 08:16:33 +01:00
2020-02-25 09:25:53 +01:00
2020-02-18 11:19:57 +01:00
2020-01-15 10:58:17 +01:00
2020-02-26 10:39:36 +01:00
2020-02-25 08:16:33 +01:00
2019-12-11 16:46:16 +01:00
2020-02-21 16:32:57 +01:00
2020-02-26 13:56:24 +01:00
2020-03-03 15:26:10 +01:00
2020-01-16 08:23:42 +01:00
2019-10-17 07:15:17 +02:00
2020-02-25 10:24:51 +01:00
2020-02-25 08:16:33 +01:00
2020-02-05 15:39:08 +01:00
2020-02-28 10:49:09 +01:00
2020-02-25 09:35:07 +01:00
2019-10-31 08:47:31 +01:00
2020-02-27 03:50:10 +01:00
2020-02-28 10:49:09 +01:00
2020-02-06 14:55:34 +01:00
2020-02-21 16:32:57 +01:00
2020-02-06 14:54:47 +01:00
2020-02-12 10:21:33 +01:00
2020-02-25 08:16:33 +01:00
2020-02-01 18:08:34 +01:00
2020-02-26 10:39:36 +01:00
2020-02-28 16:17:09 +01:00
2020-02-26 10:39:36 +01:00
2020-01-23 17:30:42 +01:00
2019-12-11 14:26:53 +01:00
2020-02-14 04:23:08 +01:00
2020-02-25 10:24:51 +01:00
2020-02-25 09:41:22 +01:00
2020-01-30 09:15:37 +01:00
2020-02-21 11:21:12 +01:00
2020-02-21 11:21:12 +01:00
2019-12-10 19:09:15 +01:00
2020-02-21 11:21:12 +01:00
2020-02-06 14:55:34 +01:00
2020-02-14 19:02:06 +01:00
2020-02-28 16:17:09 +01:00
2019-11-15 15:48:12 +01:00
2020-02-25 10:24:14 +01:00
2020-02-25 08:16:33 +01:00
2020-01-23 16:34:26 +01:00
2020-02-21 13:45:58 +01:00
2019-11-15 15:48:12 +01:00
2020-03-04 11:53:11 +01:00
2020-03-04 12:04:07 +01:00
2020-02-25 08:16:33 +01:00
2020-02-25 09:41:22 +01:00
2020-02-21 11:21:12 +01:00
2020-03-04 19:29:12 +01:00
2020-03-03 15:26:10 +01:00
2020-02-14 19:02:06 +01:00
2020-02-25 07:41:47 +01:00
2019-11-25 19:47:22 +01:00
2019-10-10 11:30:07 +02:00
2020-02-25 08:16:33 +01:00
2019-10-16 09:56:57 +02:00
2020-03-04 12:02:27 +01:00
2019-10-15 10:47:31 +02:00
2020-01-23 16:34:26 +01:00