<<< 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):

 The cyrus server records:

 {{{
 ...
 a0232 UID COPY
 
326160:326161,326188,326202,326225,326237:326243,326251,326266,326277,326336,326362,326380:326381,326393,326400,326411,326422,326447,326522,326545,326677:326680,326686,326701:326704,
 
326714,326718:326719,326758,326775,326799,326857:326865,326868,326906,326961:326963,326974,326996,327020,327081,327119,327129,327135,327147,327160,327184:327187,327225:327227,327233:327241,327251,3
 
27263,327341:327342,327388,327406,327446,327560,327585,327598:327601,327789:327792,327800,327820:327821,327960,328011,328053:328054,328091:328092,328102,328114:328123,328131,328147,328150,328221,32
 8229,328232,328256>1258052197>a0228 OK [COPYUID 1258034308
 
310259,310275,310277,310281,310297,310324,310335,310345,310396:310397,310455,310518,310529,310532,310539,310542:310543,310552,310566,31066
 
7,310714,310722,310726:310727,310729,310739,310753,310782,310835,310859,310896,310920,310940,310957,310968:310969,310991,311141,311247,311275,311277,311289,311294,311296,311310,311312:311313,311315
 
,311317,311322,311335,311339,311341,311580:311581,311583,311585,311587,311589,311594,311599:311600,311606,311611,311643,311645,311648,311650,311657,311709,311717,311735,311752,311760,311763,311765,
 
311768,311772,311777,311779,311790,311793,311819,311842,311865,311867,311901,311904,312053,312069,312100,312102,312116,312120,312145,312170,312269,312314,312316,312322,312327,312377,312459,312461,3
 
12524,312551,312555,312623,312650,312653,312657,312661,312788,312815,312914,312916,312924,312944,312986,313005,313016,313032:313033,313051,313124:313125,313199,313409,313439,313464,313466:313467,31
 
3471:313472,313474:313475,313484,313598,313661,313719,313729,313732,313750,313753:313754,313756,313810,313812,313823,313826,313831,313838,313847,313866,313873,313876,313885,313899,313905,313912,313
 928,313971,314206 1730:1892] Completed
 >1258052197>a0229 OK [COPYUID 1258034308 314208,314353,...
 }}}

 so apparently didn't read past UID 328256, which is one UID after 328232
 which is the highest UID in the reply mutt receives from cyrus.

 Here is the reply cyrus thinks it sent:

 {{{
 >1258052199>a0232 OK [COPYUID 1258034308
 
171084,171095,171120,171125,171199,171211,171291,171320,171328,171394,171396,326160:326161,326188,326202,326225,326237,326243,326251,326266,326277,326336,32
 
6362,326380:326381,326393,326400,326411,326422,326447,326522,326545,326677,326680,326686,326701,326704,326714,326718:326719,326758,326775,326799,326857,326863,326865,326868,326906,326961,326963,326
 
974,326996,327020,327081,327119,327129,327135,327147,327160,327184,327187,327225,327227,327233,327236,327239,327241,327251,327263,327341:327342,327388,327406,327446,327560,327585,327598,327601,3277
 
89,327791:327792,327800,327820:327821,327960,328011,328053:328054,328091:328092,328102,328114,328123,328131,328147,328150,328221,328229,328232
 2363:2461] Completed
 }}}

 So both mutt and cyrus agree on that socket transfer, which isn't too
 surprising as it is small, and no read equivalent of a "short write"
 happened.

 Something is wrong with sending a large buffer down the socket...

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