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

Re: IMAP command pipelining (batched mailbox polling) now in CVS



On 2005-12-20 03:20:29 +0100, Vincent Lefevre wrote:
> On 2005-12-19 10:05:34 -0800, Brendan Cully wrote:
> > Actually I think the fix may be trivial. Try pulling the latest CVS
> > (there should be a note in the Changelog about "another possible data
> > race" in the IDLE code) and see how it goes.
> 
> I've restarted the new version...

and the problem is not fixed. Mutt tells me that there are new messages
but doesn't show them (the number of messages remain the same, and after
deleting a message, it decreased by 1).

< a0004 OK FETCH completed
imap_open_mailbox: msgcount is 223
> a0005 IDLE
< + Waiting for DONE
> DONE
a0006 IDLE
< * OK Timeout in 30 minutes
< a0005 OK IDLE completed
< + Waiting for DONE
> DONE
a0007 IDLE
< * OK Timeout in 30 minutes
< a0006 OK IDLE completed
< + Waiting for DONE
> DONE
a0008 IDLE
< * 224 EXISTS
Handling EXISTS
cmd_handle_untagged: New mail in INBOX - 224 messages total.
< * 1 RECENT
< * OK Timeout in 30 minutes
< a0007 OK IDLE completed
imap_cmd_finish: Fetching new mail
message.c:92: mutt_mktemp returns "/var/tmp/mutt-dixsept-325-3688-1".
> DONE
a0009 FETCH 224:224 (UID FLAGS INTERNALDATE RFC822.SIZE BODY.PEEK[HEADER.FIELDS 
(DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION 
IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)])
< + Waiting for DONE
< a0008 OK IDLE completed
< * 224 FETCH (UID 205665 FLAGS (\Recent) INTERNALDATE "20-Dec-2005 05:47:21 
+0100" RFC822.SIZE 1311 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" 
"REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {251}
Handling FETCH
FETCH response ignored for this message
< Date: Tue, 20 Dec 2005 05:47:15 +0100
< From: Vincent Lefevre <vincent@xxxxxxxxxx>
< To: Vincent Lefevre <Vincent.Lefevre@xxxxxxxx>
< Subject: test
< Message-ID: <20051220044715.GE9072@xxxxxxxxxxxxxxxxxxx>
< Content-Type: text/plain; charset=iso-8859-1
< 
< )
< a0009 OK FETCH completed
> a0010 IDLE
< + Waiting for DONE
> DONE
a0011 IDLE
< * OK Timeout in 30 minutes
< a0010 OK IDLE completed
< + Waiting for DONE
> DONE
a0012 IDLE
< * OK Timeout in 30 minutes
< a0011 OK IDLE completed
< + Waiting for DONE
> DONE
a0013 IDLE
< * 225 EXISTS
Handling EXISTS
cmd_handle_untagged: New mail in INBOX - 225 messages total.
< * 2 RECENT
< * OK Timeout in 30 minutes
< a0012 OK IDLE completed
imap_cmd_finish: Fetching new mail
message.c:92: mutt_mktemp returns "/var/tmp/mutt-dixsept-325-3688-2".
> DONE
a0014 FETCH 224:225 (UID FLAGS INTERNALDATE RFC822.SIZE BODY.PEEK[HEADER.FIELDS 
(DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION 
IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)])
< + Waiting for DONE
< a0013 OK IDLE completed
< * 224 FETCH (UID 205665 FLAGS (\Recent) INTERNALDATE "20-Dec-2005 05:47:21 
+0100" RFC822.SIZE 1311 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" 
"REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {251}
Handling FETCH
FETCH response ignored for this message
< Date: Tue, 20 Dec 2005 05:47:15 +0100
< From: Vincent Lefevre <vincent@xxxxxxxxxx>
< To: Vincent Lefevre <Vincent.Lefevre@xxxxxxxx>
< Subject: test
< Message-ID: <20051220044715.GE9072@xxxxxxxxxxxxxxxxxxx>
< Content-Type: text/plain; charset=iso-8859-1
< 
< )
< * 225 FETCH (UID 205666 FLAGS (\Recent) INTERNALDATE "20-Dec-2005 05:51:19 
+0100" RFC822.SIZE 1312 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "CONTENT-DESCRIPTION" "IN-REPLY-TO" 
"REPLY-TO" "LINES" "LIST-POST" "X-LABEL")] {252}
Handling FETCH
FETCH response ignored for this message
< Date: Tue, 20 Dec 2005 05:51:16 +0100
< From: Vincent Lefevre <vincent@xxxxxxxxxx>
< To: Vincent Lefevre <Vincent.Lefevre@xxxxxxxx>
< Subject: test2
< Message-ID: <20051220045116.GF9072@xxxxxxxxxxxxxxxxxxx>
< Content-Type: text/plain; charset=iso-8859-1
< 
< )
< a0014 OK FETCH completed
> a0015 IDLE
< + Waiting for DONE
Vous êtes sur le dernier message.
> DONE
a0016 EXPUNGE
< a0015 OK IDLE completed
< a0016 OK Mailbox checkpointed, but no messages expunged
> a0017 IDLE
< + Waiting for DONE
message.c:361: mutt_mktemp returns "/var/tmp/mutt-dixsept-325-3688-3".
> DONE
a0018 UID FETCH 205664 BODY.PEEK[]
< a0017 OK IDLE completed
< * 223 FETCH (UID 205664 BODY[] {23966}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 23966 bytes
< )
< a0018 OK UID FETCH completed
parse_parameters: `boundary="=_5a9b20c672d402d7fd6607895ad69d38"'
parse_parameter: `boundary' = `=_5a9b20c672d402d7fd6607895ad69d38'
maildir_open_new_message (): Trying 
/home/vlefevre/Mail/trash/tmp/new.1135054390.3688_4.dixsept.
maildir_open_new_message (): Success.
maildir_commit_message (): renaming 
/home/vlefevre/Mail/trash/tmp/new.1135054390.3688_4.dixsept to 
/home/vlefevre/Mail/trash/new/1135054390.3688_5.dixsept.
> a0019 IDLE
< + Waiting for DONE
> DONE
a0020 UID STORE 205664 +FLAGS.SILENT (\Deleted)
< a0019 OK IDLE completed
< a0020 OK UID STORE completed
> a0021 EXPUNGE
< * 223 EXPUNGE
Handling EXPUNGE
< * 224 EXISTS
Handling EXISTS
< * 2 RECENT
< a0021 OK Expunged 1 messages
imap_cmd_finish: Expunging mailbox
Expunging message UID 205664.
> a0022 IDLE
< + Waiting for DONE
> DONE
a0023 IDLE
< * OK Timeout in 30 minutes
< a0022 OK IDLE completed
< + Waiting for DONE
> DONE
a0024 IDLE
< * OK Timeout in 30 minutes
< a0023 OK IDLE completed
< + Waiting for DONE

Current number of messages shown in the index: 222. The 2 new messages
have never appeared here.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA