MBOX-Line: From arnt at gulbrandsen.priv.no  Wed Mar  9 05:06:08 2011
To: imap-protocol@u.washington.edu
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Date: Fri Jun  8 12:34:45 2018
Subject: [Imap-protocol] Pipelined commands before completion of STARTTLS
In-Reply-To: <20334.1299625687.587275@puncture>
References: <4D7690AE.8020003@andrew.cmu.edu>
	<alpine.BSO.2.00.1103081341530.1958@morgaine.smi.sendmail.com>
	<20334.1299625687.587275@puncture>
Message-ID: <4D777B40.7000008@gulbrandsen.priv.no>

On 03/09/2011 12:08 AM, Dave Cridland wrote:
> Yes, I like (4).

4) fits naturally.

There are a couple of other sequences where the next command shouldn't 
even be parsed until the current command handler says that's OK. I 
remember one, but I think there it wasn't the only one:

   C: a select foo
   ...
   C: b select bar
   C: c store 1 +flags \deleted

If the parser turns MSNs into UIDs, the parsing of c depends on b.

Holding up parsing when 3501 5.5 says not to execute neatly solves this 
kind of problem, including starttls.

Arnt

