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 Patrick Welche):
{{{
On Tue, Oct 07, 2008 at 04:35:26PM -0000, Mutt wrote:
I am not using anything special to access the mailbox (mutt and server
running on same box, mutt -f imap://localhost/INBOX, no TLS set up),
and I am using HEAD of a few days ago (what's the mercurial equivalent
of cvs status mutt_socket.c?, hg status just says "M" which is fair
enough.
My mutt_socket.c contains
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
which I think is one of your more recent commits)
Now my .muttdebug0 has
a0062 UID COPY
321461,321484:321485,321496,321585:321587,321594:321598,321602,32
1605,321617,321624,321626,321628,321634,321639,321646,321649,321658,321665,32168
7,321695,321750,321763:321764,321770:321773,321836,321848,321887,321900:321901,3
21915,321950:321951,321975:321976,322001,322020,322107,322120,322128,322132:3221
34,322195,322212,322223,322405,322418,322429,322506:322507,322559,322567,322653,
322717,322731,322741:322742,322749,322813:322819,322825:322826,322828:322833,322
839,322873,322876,322894,322911,322987,323052,323155,323181,323191:323193,323212
:323214,323244,323309,323311,323339,323353,323357:323358,323368,323400:323409,32
3413,323418,323422,323435,323586,323722,323763,323900,323903,323916,323919,32394
2,323946,323958,323961,323968,323970,323974,323976,323981,323994,324009,324065,3
24104,324125,324136,324148:324150,324155,324161,324231,324345,324361,324396,3244
07,324424,324459,324474,324511,324571,324591:324592,324778,324783,324795,324858:
324859,324980,325043,325079:325080,325366,325403,325407,325410,325415,325418
"ht
tp"
mutt_socket_write: short write, now writing the rest
mutt_socket_write: short write, now writing the rest
mutt_socket_write: short write, now writing the rest
mutt_socket_write: short write, now writing the rest
mutt_socket_write: short write, now writing the rest
in it rather than getting stuck with both mutt and cyrus wanting to read.
I am actually surprised how often I get the "short write" message - with
the old code, I think I would only have received the ERROR when I received
more than one consecutive "short write" in the new code.
Cheers,
Patrick
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3000#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent