Althea hangs when fetching headers from Courier IMAP
servers such as mine. The reason took a bit of
detective work, but turned out to be simple. When
Althea did the "aHEADER uid FETCH" requests, it
requested unique IDs 1 to 4294967296. This last
number is a 33-bit number, whereas the RFC requires
unique IDs to be 32-bit numbers. Because of this,
Courier IMAP immediately returns the OK FETCH
completed response, with no left brace in the
response. Althea keeps waiting for that left brace,
hanging the program (as well as preventing me from
doing anything in X other than moving the mouse
around). Decrementing that number by 1, to
4294967295, the largest 32-bit number, solves the
problem totally. The attached patch does this.
Log in to post a comment.