<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3000: Deleting >50k messages from IMAP boxes fails with



#3000: Deleting >50k messages from IMAP boxes fails with Fatal error:
---------------------+------------------------------------------------------
  Reporter:  myon    |       Owner:  brendan 
      Type:  defect  |      Status:  reopened
  Priority:  minor   |   Milestone:  1.6     
 Component:  IMAP    |     Version:  1.5.17  
Resolution:          |    Keywords:  patch   
---------------------+------------------------------------------------------

Comment(by Matthias Andree):

 {{{
 Mutt <fleas@xxxxxxxx> writes:


 Not having looked at the actual issue or patch, I'd say the socket's
 send buffer size matters here.  With synchronous (i. e.  blocking)
 writes, you can only toss a TCP send buffer's size worth of command
 bytes down the pipe. Then you need to start fetching replies so the
 server can send replies and drains your write buffer at the same
 time. You may need to make up for truncated commands and complete
 writing a line so as not to lock up.

 Stuffing 50k message positions (let alone UIDs) will easily exceed
 typical TCP send buffer sizes. If you're not fetching replies due to the
 blocking write, the whole setup will deadlock until timeouts strike.

 Check the STREAMING or PIPELINING RFCs (the number of which I forget),
 there is one that documents the requirements, but I forgot the context,
 might have been POP3, IMAP, NNTP, thereabouts.
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3000#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent