From 7704621f4cd1d6d8728c1d7a8c3fd2cef1bec1ab Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Thu, 7 Feb 2013 00:18:23 +0000 Subject: imap: Changed response tag generation to be completely unique Updated the automatic response tag generation to follow the examples given in RC3501, which list a 4 character string such as A001, A002, etc. As a unique identifier should be generated for each command the string generation is based on the connection id and the incrementing command id. --- tests/data/test1321 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/data/test1321') diff --git a/tests/data/test1321 b/tests/data/test1321 index 4a04575b1..7589534f7 100644 --- a/tests/data/test1321 +++ b/tests/data/test1321 @@ -56,11 +56,11 @@ imap://%HOSTIP:%IMAPPORT/1321 -u user:secret -p -x %HOSTIP:%PROXYPORT ^User-Agent: curl/.* -B CAPABILITY -C LOGIN user secret -D SELECT 1321 -A FETCH 1 BODY[TEXT] -B LOGOUT +A001 CAPABILITY +A002 LOGIN user secret +A003 SELECT 1321 +A004 FETCH 1 BODY[TEXT] +A005 LOGOUT CONNECT %HOSTIP:%IMAPPORT HTTP/1.1 -- cgit v1.2.3