Re: [PATCH] Don't lose post-sync IMAP flag updates

2015-07-15 Thread Kevin J. McCarthy
Noah Misch wrote: > Test procedure: > - Open a nonempty IMAP mailbox. > - Issue "flag-message" on an unflagged message. > - Issue "sync-mailbox". > - Issue "flag-message" on the same message. This removes the flag. > - Issue "quit". Automatic mailbox sync happens at quit. > - Reopen the IMAP mail

Re: [PATCH] Add $socket_timeout configuration option.

2015-07-15 Thread Kevin J. McCarthy
Kevin J. McCarthy wrote: > I wasn't really happy having a loop counter option for GnuTLS. It turns > out the GNUTLS_E_AGAIN is translated directly from EAGAIN/EWOULDBLOCK. > Since we're not using non-blocking io, this will only be triggered by > our timeout. Sorry, I was wrong. It will return GN

Re: [PATCH] Add $socket_timeout configuration option.

2015-07-15 Thread Kevin J. McCarthy
Kevin J. McCarthy wrote: > Kevin J. McCarthy wrote: > > I wasn't really happy having a loop counter option for GnuTLS. It turns > > out the GNUTLS_E_AGAIN is translated directly from EAGAIN/EWOULDBLOCK. > > Since we're not using non-blocking io, this will only be triggered by > > our timeout. > >