From 5d03669979a0faed6caec3d32f7caac9321eb160 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 2 Jan 2017 17:20:26 +0000 Subject: PROXY: fix v2 protocol decode. Bugs 2003, 1747 --- test/README | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/README') diff --git a/test/README b/test/README index 1a300663b..a600756be 100644 --- a/test/README +++ b/test/README @@ -1023,9 +1023,15 @@ Lines in client scripts are of two kinds: (2) If a line starts with three plus signs followed by a space, the rest of the line specifies a number of seconds to sleep for before proceeding. -(3) Otherwise, the line is an input line line that is sent to the server. Any +(3) If a line begins with three '>' characters and a space, the rest of the + line is input to be sent to the server. Backslash escaping is done as + described below, but no trailing "\r\n" is sent. + +(4) Otherwise, the line is an input line line that is sent to the server. Any occurrences of \r and \n in the line are turned into carriage return and linefeed, respectively. This is used for testing PIPELINING. + Any sequences of \x followed by two hex digits are converted to the equvalent + byte value. Any other character following a \ is sent verbatim. Here is a simple example: -- cgit v1.2.3