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

Re: [Mutt] #3357: imap server socket communication trouble



#3357: imap server socket communication trouble
--------------------+-------------------------------------------------------
 Reporter:  prlw1   |       Owner:  brendan
     Type:  defect  |      Status:  new    
 Priority:  major   |   Milestone:         
Component:  IMAP    |     Version:         
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by prlw1):

 I just tried checking the following theory: selecting loads of messages,
 doesn't only fill up the socket buffer leading to short writes, it also
 hammers the cmdslots - in the above example 16 commands were being sent in
 one go (yes, slots=15...)

 I just tried the above with

 {{
 set imap_pipeline_depth=3
 }}

 and now the copy does nothing, and the new folder remains empty. I think
 you should be able to reproduce this without tagging thousands of
 messages...

 {{
 Compiling search pattern...  (for tagging)
 ...
 4> a0621 NOOP
 4< a0621 OK Completed
 IMAP queue drained
 Getting folder list...
 imap_browse: Quoting mailbox scan:  -> [2009-12-17 18:29:26] "%"
 4> a0622 LIST "" "%"
 4< * LIST (\Noinferiors) "/" "INBOX"
 ...
 }}
 Gets list of folders to select for tagged copy (copying from INBOX to
 http)
 {{
 4< a0622 OK Completed (0.010 secs 9 calls)
 IMAP queue drained
 Mailbox is unchanged.
 ...
 Reading imap://localhost/http...
 [2009-12-17 18:29:31] Selecting http...
 [2009-12-17 18:29:31] 4> a0623 CLOSE
 a0624 MYRIGHTS "http"
 a0625 SELECT "http"
 [2009-12-17 18:29:50] 4< a0623 OK Completed
 [2009-12-17 18:29:50] 4< * MYRIGHTS http lrswipkxtecda
 [2009-12-17 18:29:50] Handling MYRIGHTS
 [2009-12-17 18:29:50] 4< a0624 OK Completed
 [2009-12-17 18:29:50] 4< * FLAGS (\Answered \Flagged \Draft \Deleted
 \Seen)
 [2009-12-17 18:29:50] Getting mailbox FLAGS
 [2009-12-17 18:29:50] 4< * OK [PERMANENTFLAGS (\Answered \Flagged \Draft
 \Deleted \Seen \*)
 ]
 [2009-12-17 18:29:50] Getting mailbox PERMANENTFLAGS
 [2009-12-17 18:29:50] 4< * 0 EXISTS
 [2009-12-17 18:29:50] Handling EXISTS
 [2009-12-17 18:29:50] cmd_handle_untagged: superfluous EXISTS message.
 [2009-12-17 18:29:50] 4< * 0 RECENT
 [2009-12-17 18:29:50] 4< * OK [UIDVALIDITY 1261059867]
 [2009-12-17 18:29:50] Getting mailbox UIDVALIDITY
 [2009-12-17 18:29:50] 4< * OK [UIDNEXT 1]
 [2009-12-17 18:29:50] Getting mailbox UIDNEXT
 [2009-12-17 18:29:50] 4< * OK [NOMODSEQ] Sorry, modsequences have not been
 enabled on this
 mailbox
 [2009-12-17 18:29:50] 4< * OK [URLMECH INTERNAL]
 [2009-12-17 18:29:50] 4< a0625 OK [READ-WRITE] Completed
 [2009-12-17 18:29:50] IMAP queue drained
 [2009-12-17 18:29:50] Mailbox flags: [2009-12-17 18:29:50] [\Answered]
 [2009-12-17 18:29:50
 ] [\Flagged] [2009-12-17 18:29:50] [\Draft] [2009-12-17 18:29:50]
 [\Deleted] [2009-12-17 18
 :29:50] [\Seen] [2009-12-17 18:29:50] [\*] [2009-12-17 18:29:50]
 [2009-12-17 18:29:50] imap_open_mailbox: msgcount is 0
 [2009-12-17 18:30:05] 4> a0626 NOOP
 [2009-12-17 18:30:05] 4< a0626 OK Completed
 [2009-12-17 18:30:05] IMAP queue drained
 [2009-12-17 18:30:20] 4> a0627 NOOP
 [2009-12-17 18:30:20] 4< a0627 OK Completed
 [2009-12-17 18:30:20] IMAP queue drained
 }}

 No sign of a COPY...

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