From: Peter G. <pe...@ar...> - 2002-09-20 17:51:16
|
This morning's 0.16.4+ development snapshot is up: http://armedbear.org/j.zip (source and documentation) http://armedbear.org/j-jar.zip (just j.jar) In previous versions, j has imposed an arbitrary 30-second timeout on IMAP socket reads. There's really no good reason for this any more (if there ever was one). Network operations don't tie up the foreground thread, and a pending operation that gets stuck can be cancelled manually by pressing Escape (or, worst case, closing the mailbox). The hour glass doesn't eat much. The big disadvantage of the 30-second timeout is that it's not always possible for an IMAP SELECT operation (in particular) to complete in 30 seconds, depending on factors like server load and mailbox size. So in some cases, j would issue a SELECT command, then wait 30 seconds and give up, without giving the server an adequate amount of time to respond. Starting with this snapshot, there is no longer any timeout at all on IMAP socket reads. This will allow some SELECTs to succeed that would otherwise fail, and it shouldn't do any harm in other cases. Escape is your friend. While I was in there I cleaned up the error handling and logging a bit, too. Thanks for your support. -Peter |