antirez
2685af5aed
Net: improve prepareClientToWrite() error handling and comments.
...
When we fail to setup the write handler it does not make sense to take
the client around, it is missing writes: whatever is a client or a slave
anyway the connection should terminated ASAP.
Moreover what the function does exactly with its return value, and in
which case the write handler is installed on the socket, was not clear,
so the functions comment are improved to make the goals of the function
more obvious.
Also related to #2485 .
2015-04-01 10:07:45 +02:00
..
2012-04-13 17:52:33 -07:00
2014-09-29 06:49:07 -04:00
2012-11-08 18:31:32 +01:00
2013-12-05 16:35:32 +01:00
2013-06-28 16:39:49 +02:00
2014-06-26 18:48:40 +02:00
2013-06-28 16:39:49 +02:00
2014-08-08 10:43:54 +02:00
2013-06-28 16:39:49 +02:00
2015-01-19 14:10:12 -05:00
2014-12-11 18:20:30 +01:00
2015-01-21 16:42:08 +01:00
2012-11-08 18:31:32 +01:00
2015-03-30 12:17:46 +02:00
2012-11-22 10:12:11 +01:00
2014-12-11 10:54:21 -05:00
2015-03-24 16:00:09 +01:00
2015-03-24 11:56:24 +01:00
2015-03-24 11:56:24 +01:00
2015-03-12 14:43:07 +01:00
2015-02-10 09:29:14 +01:00
2014-06-26 18:48:40 +02:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2015-02-23 11:24:24 +01:00
2015-02-24 17:22:53 +01:00
2015-03-27 10:14:52 +01:00
2015-02-11 10:52:28 +01:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2014-12-05 12:41:59 +11:00
2014-12-14 12:25:42 +02:00
2014-12-10 16:10:21 +01:00
2015-02-11 10:52:28 +01:00
2015-02-11 10:52:28 +01:00
2015-03-04 11:48:19 -08:00
2015-02-11 10:52:27 +01:00
2015-01-02 11:16:10 -05:00
2015-01-02 11:16:10 -05:00
2014-06-26 18:48:40 +02:00
2015-01-02 11:16:10 -05:00
2015-01-28 11:18:16 -05:00
2014-07-02 17:04:14 +02:00
2014-12-09 12:59:46 +01:00
2013-02-24 18:17:46 +01:00
2014-08-08 14:54:02 +02:00
2015-04-01 10:07:45 +02:00
2014-01-08 17:18:34 +01:00
2015-03-11 17:00:13 +01:00
2014-06-26 18:48:40 +02:00
2012-11-08 18:31:32 +01:00
2014-08-08 11:19:37 +02:00
2015-02-17 11:33:08 -05:00
2015-01-02 11:16:09 -05:00
2014-08-08 10:05:32 +02:00
2012-11-08 18:31:32 +01:00
2015-02-24 17:22:53 +01:00
2015-01-19 14:10:12 -05:00
2015-01-19 14:10:12 -05:00
2012-11-08 18:31:32 +01:00
2015-02-03 10:25:01 +01:00
2015-02-13 14:38:21 +01:00
2015-01-08 13:31:03 -05:00
2015-03-24 11:56:24 +01:00
2015-03-24 16:00:09 +01:00
2013-08-19 15:01:21 +02:00
2014-06-26 18:48:40 +02:00
2015-04-01 10:07:45 +02:00
2014-10-22 15:58:14 +02:00
2014-10-17 11:36:12 +02:00
2015-03-22 22:24:08 +01:00
2015-01-08 09:52:44 +01:00
2015-01-08 09:52:44 +01:00
2015-03-13 18:23:36 +01:00
2013-02-27 11:50:35 +01:00
2015-01-09 11:23:22 +01:00
2014-12-23 09:31:03 -05:00
2013-07-22 10:31:38 +02:00
2012-11-08 18:31:32 +01:00
2015-01-09 11:23:22 +01:00
2015-02-03 15:42:56 +01:00
2014-12-08 11:43:32 +08:00
2014-07-02 16:31:22 +02:00
2014-10-16 17:35:29 +02:00
2015-02-27 15:37:04 +01:00
2015-01-02 11:16:10 -05:00
2015-03-31 15:26:35 +02:00
2015-02-25 10:18:07 +01:00
2014-12-23 09:31:04 -05:00
2012-11-08 18:31:32 +01:00
2015-02-27 16:03:02 +01:00
2015-02-27 16:03:02 +01:00
2011-07-06 15:22:00 +02:00
2015-02-14 17:19:17 +01:00
2015-01-02 11:16:08 -05:00
2015-01-02 11:16:08 -05:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2014-12-17 17:15:39 +01:00
2014-12-17 17:11:20 +01:00