antirez
24b3799238
redis-cli --pipe: send final ECHO in a safer way.
...
If the protocol read from stdin happened to contain grabage (invalid
random chars), in the previous implementation it was possible to end
with something like:
dksfjdksjflskfjl*2\r\n$4\r\nECHO....
That is invalid as the *2 should start into a new line. Now we prefix
the ECHO with a CRLF that has no effects on the server but prevents this
issues most of the times.
Of course if the offending wrong sequence is something like:
$3248772349\r\n
No one is going to save us as Redis will wait for data in the context of
a big argument, so this fix does not cover all the cases.
This partially fixes issue #681 .
2013-07-03 12:02:09 +02:00
..
2012-04-13 18:05:51 -07:00
2013-01-19 11:03:19 +01:00
2012-11-08 18:34:04 +01:00
2013-07-01 10:44:04 +02:00
2013-07-01 10:44:04 +02:00
2013-07-01 10:44:04 +02:00
2013-07-01 10:44:04 +02:00
2013-07-01 10:44:04 +02:00
2013-07-01 10:44:04 +02:00
2013-02-11 11:44:31 +01:00
2013-02-11 11:44:18 +01:00
2013-06-26 15:23:29 +02:00
2012-11-08 18:34:04 +01:00
2013-01-19 11:03:19 +01:00
2012-11-22 10:28:53 +01:00
2013-06-26 15:24:58 +02:00
2013-07-02 12:24:12 +02:00
2013-02-27 12:00:43 +01:00
2012-04-10 16:26:41 +02:00
2012-11-29 14:22:15 +01:00
2013-06-27 12:14:23 +02:00
2013-06-26 15:20:56 +02:00
2013-01-19 11:03:19 +01:00
2012-10-22 11:56:06 +02:00
2012-02-14 16:11:46 +01:00
2012-12-11 17:19:54 +01:00
2013-06-26 15:20:03 +02:00
2013-05-14 11:22:58 +02:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2013-01-19 11:03:19 +01:00
2013-04-02 11:54:20 +02:00
2013-02-26 12:03:48 +01:00
2013-01-21 12:38:46 +01:00
2012-04-10 20:04:21 +02:00
2013-03-04 10:58:02 +01:00
2013-03-26 13:59:21 +01:00
2013-05-30 11:31:46 +02:00
2013-01-28 13:18:53 +01:00
2013-01-28 13:17:37 +01:00
2013-07-02 17:48:49 +02:00
2012-11-08 18:34:04 +01:00
2013-06-26 15:21:55 +02:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2013-04-02 14:12:28 +02:00
2013-01-19 11:03:19 +01:00
2012-12-20 15:21:40 +01:00
2012-11-08 18:34:04 +01:00
2013-01-19 11:03:19 +01:00
2013-07-03 12:02:09 +02:00
2013-07-02 12:24:05 +02:00
2013-07-01 10:44:08 +02:00
2013-01-19 11:03:19 +01:00
2013-06-26 15:24:30 +02:00
2013-04-24 10:26:58 +02:00
2013-04-24 10:26:58 +02:00
2013-06-26 15:24:22 +02:00
2013-03-06 12:43:41 +01:00
2013-03-06 12:43:41 +01:00
2013-06-20 10:24:31 +02:00
2013-02-27 12:00:43 +01:00
2013-01-19 11:03:19 +01:00
2010-07-01 14:38:51 +02:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2013-01-28 13:18:36 +01:00
2012-05-02 22:45:12 +02:00
2013-01-28 13:18:36 +01:00
2013-01-28 13:18:36 +01:00
2013-02-05 10:49:24 +01:00
2013-03-29 10:37:29 +01:00
2013-01-29 13:50:09 +01:00
2012-11-08 18:34:04 +01:00
2013-07-02 12:24:08 +02:00
2013-07-02 12:24:08 +02:00
2011-07-06 15:22:00 +02:00
2013-06-26 15:26:11 +02:00
2013-07-02 12:25:30 +02:00
2012-11-08 18:34:04 +01:00
2012-09-27 13:22:42 +02:00
2011-02-28 09:56:48 +01:00
2013-01-19 11:03:19 +01:00
2012-11-19 15:25:57 +01:00