MBOX-Line: From mrc at CAC.Washington.EDU  Fri Mar 30 10:29:48 2007
To: imap-protocol@u.washington.edu
From: Mark Crispin <mrc@CAC.Washington.EDU>
Date: Fri Jun  8 12:34:39 2018
Subject: [Imap-protocol] LITERAL+ and errors
In-Reply-To: <1172789947.69691175236460767.JavaMail.root@dogfood.liquidsys.com>
References: <1172789947.69691175236460767.JavaMail.root@dogfood.liquidsys.c om>
Message-ID: <alpine.OSX.0.98.0703301027430.3306@pangtzu.panda.com>

On Thu, 29 Mar 2007, Dan Karp wrote:
> When a client uses LITERAL+ and specifies a literal length larger than 
> the server is prepared to accept, what options does the server have? 
> Anything other than dropping the connection or reading and discarding 
> the entire literal?

Those are the options.  It is for that reason that I don't use LITERAL+ in 
my client code, although I implement it in my server code.  IMHO, multiple 
APPEND is the case where the optimizing RTTs in literals is important, and 
MULTIAPPEND does a better job at that.  You can do both MULTIAPPEND and 
LITERAL+ in a multiple APPEND, but I suspect that most people do not.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

