imclient >4k literal error

Lawrence Greenfield leg+ at andrew.cmu.edu
Mon Apr 7 16:04:13 EDT 2003


The question is what it'll do if you get something like:

* 291 FETCH (ENVELOPE ("Mon, 7 Apr 2003 20:34:04 +0100" 
"Re: imclient >4k literal error" (("Patrick Welche" NIL "prlw1" 
"newn.cam.ac.uk")) (({14}
Patrick Welche NIL "prlw1" "newn.cam.ac.uk")) 
(("Patrick Welche" NIL "prlw1" "newn.cam.ac.uk")) (("Lawrence Greenfield" 
NIL "leg+" "andrew.cmu.edu")) (("Rob Siemborski" NIL "rjs3" 
"andrew.cmu.edu")(NIL NIL "info-cyrus" "lists.andrew.cmu.edu")) NIL 
"<200304071838.h37Icuff007629 at smtp5.andrew.cmu.edu>" 
"<20030407203404.A29873 at quartz.newn.cam.ac.uk>"))

does it correctly resume parsing of the fetch response when there's an
interior literal? (This is not just theoretical: Cyrus will send
literals in the middle of envelope responses, though the protocol
snippet from above was contrived.)

Larry

   Date: Mon, 7 Apr 2003 20:34:04 +0100
   From: Patrick Welche <prlw1 at newn.cam.ac.uk>

   Well, the patch I sent works if what we want is

   FETCH... {literal length} CRLF
   The literal
   over several
   4k blocks
   CRLF

   so I think that wraps it up then :-)

   Cheers,

   Patrick






More information about the Info-cyrus mailing list