Willy Tarreau
908d26fd03
MINOR: stream-int: don't needlessly call si_cs_send() in si_cs_process()
...
There's a call there to si_cs_send() while we're supposed to come from
si_cs_io_cb() which has just done it. But in fact we can also come here
as a lower layer callback from ->wake() after a connection is established.
Since most of the time we'll end up here with either no data in the buffer
or a blocked output, let's simply check if we're already susbcribed to send
events before calling si_cs_send().
2018-10-28 13:50:02 +01:00
..
2018-10-02 18:26:59 +02:00
2018-07-19 16:23:43 +02:00
2017-10-31 11:36:12 +01:00
2018-10-28 13:47:00 +01:00
2018-07-19 16:23:43 +02:00
2018-07-19 16:23:43 +02:00
2018-10-27 22:10:32 +02:00
2010-10-30 19:04:33 +02:00
2018-07-19 16:23:43 +02:00
2018-10-26 04:54:40 +02:00
2018-10-23 10:22:36 +02:00
2018-10-08 16:11:54 +02:00
2018-10-21 05:58:40 +02:00
2018-08-22 05:28:32 +02:00
2018-10-19 08:51:59 +02:00
2018-09-11 10:30:25 +02:00
2018-10-21 05:58:40 +02:00
2018-10-02 18:37:27 +02:00
2018-09-20 11:42:15 +02:00
2018-10-17 19:59:43 +02:00
2018-10-17 19:59:43 +02:00
2018-10-17 19:59:43 +02:00
2018-10-17 19:59:43 +02:00
2018-10-15 13:25:06 +02:00
2018-09-14 09:31:34 +02:00
2018-09-11 10:30:25 +02:00
2018-10-02 18:28:05 +02:00
2018-07-19 16:23:43 +02:00
2017-10-31 18:01:18 +01:00
2018-07-19 16:23:43 +02:00
2018-10-12 16:15:18 +02:00
2018-04-26 10:20:44 +02:00
2018-10-12 19:30:18 +02:00
2018-03-21 05:04:01 +01:00
2018-10-16 17:03:16 +02:00
2017-11-24 17:49:53 +01:00
2018-09-29 20:15:01 +02:00
2018-10-28 13:47:00 +01:00
2018-09-20 11:45:56 +02:00
2018-07-19 16:23:43 +02:00
2017-12-03 21:08:39 +01:00
2018-09-20 11:45:56 +02:00
2018-10-02 18:26:59 +02:00
2018-10-02 18:28:05 +02:00
2018-10-02 18:26:59 +02:00
2018-10-02 18:26:59 +02:00
2018-10-02 18:28:05 +02:00
2018-09-11 10:30:25 +02:00
2012-10-08 20:11:03 +02:00
2018-08-21 19:44:53 +02:00
2018-08-21 19:44:53 +02:00
2018-08-21 19:44:53 +02:00
2018-08-21 19:44:53 +02:00
2018-09-11 10:30:25 +02:00
2018-09-12 07:20:17 +02:00
2018-10-12 16:58:01 +02:00
2016-01-11 07:31:35 +01:00
2015-02-03 00:24:16 +01:00
2018-08-22 05:16:33 +02:00
2018-10-23 14:40:23 +02:00
2018-10-21 06:00:13 +02:00
2018-10-21 05:58:40 +02:00
2018-07-19 16:23:43 +02:00
2018-09-19 06:46:51 +02:00
2018-07-19 16:23:43 +02:00
2018-10-16 19:31:15 +02:00
2017-11-24 17:49:53 +01:00
2018-10-28 13:46:47 +01:00
2018-09-20 11:42:15 +02:00
2018-10-02 18:28:05 +02:00
2016-04-14 11:18:22 +02:00
2018-08-24 14:45:46 +02:00
2018-09-12 07:12:27 +02:00
2018-09-07 20:07:17 +02:00
2018-10-02 18:28:05 +02:00
2018-10-11 15:34:21 +02:00
2017-11-24 17:19:12 +01:00
2018-09-11 10:30:25 +02:00
2018-10-16 19:26:12 +02:00
2018-09-11 10:30:25 +02:00
2017-10-25 04:45:48 +02:00
2018-10-26 04:54:40 +02:00
2018-09-11 10:21:58 +02:00
2018-10-26 04:54:40 +02:00
2018-09-12 07:20:17 +02:00
2018-09-20 11:42:15 +02:00
2018-10-15 13:24:43 +02:00
2018-10-28 13:50:02 +01:00
2018-10-28 13:47:00 +01:00
2018-10-15 19:06:13 +02:00
2018-07-20 10:45:20 +02:00
2018-10-19 08:51:59 +02:00
2017-10-24 19:54:25 +02:00
2017-11-24 17:19:12 +01:00
2018-10-02 18:28:05 +02:00
2018-07-19 16:23:43 +02:00
2016-04-03 14:17:42 +02:00