651630fe2c92b696197ca7558925153d891997ed |
|
19-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-imap-client: Change server IP only on connect() failures
Also log an warning-level message about it. This is mainly useful to see
that a slow connection could be caused by a connect() timeout. Since more
IPs are still available, it's not yet an error. |
78aafd062427cb22e9cf57ff08ced5b08baf55b3 |
|
19-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Fix infinite reconnection when server keeps sending corrupted state
When corrupted state was found, imapc_client_mailbox_reconnect() is called
to reconnect. This call skipped the normal "is it safe to reconnect?"
checks causing potentially infinite reconnections. |
b884dafdd32a43c3c62bf9dbcc7a1a5df1409b0f |
|
10-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-imap-client: Remove hardcoded IMAPC_CONNECT_RETRY_WAIT_MSECS
We have a setting for it now. |
f3e5f802fac1c2047e46b44b856116cca1cbf5df |
|
10-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-imap-client: Call the public login callback exactly once.
Previously it was also called only once, as long as there were only a single
imap connection. (The current imapc code wouldn't create more than one
connection.) It was a bit confusing what the expectation was, so now the
callback is never called more than once. |
d35da39e688b94bb7e9adc6c865a45004c64a506 |
|
19-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Use LOGOUT to cleanly disconnect from server.
This makes it clearer in the remote server's logs whether the disconnection
was intentional or not.
Use a hardcoded 5 second timeout for LOGOUT. It should be enough time for
the server to finish sending the tagged reply. |
3b94c8fb6952f5c0f284bd65fb1cb11bb1fe2e63 |
|
13-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Fix re-sending retryable commands after reconnect |
e4020d174b147924a279a3b608e0223a2c234c2b |
|
12-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Support retrying after connect() failure. |
b60daa2dcb94b129a25ab5b42a2c6b6748c781aa |
|
12-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Prepare for non-mailbox command retrying: Set reconnect_command_count earlier
This probably doesn't fix itself anything yet, but is needed for the
following changes. |
639ba5ff2ba668b41b8a8102ce626d0b58d384ad |
|
25-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-imap-client: Allow reconnecting to IMAP server even if there had been no idle moments. |
de26c21cfadf24c1fa59f06414854d58b3d8baad |
|
11-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
imapc: Added throttling settings to imapc_features=throttle:a:b:c
This change could be reverted once good settings are found. |
b09f510e3f7e3bd4a5216a60fa1406d1e83d001b |
|
31-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed crashes during mailbox close. |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
05b24d0011d82687674c8545db1217b4f9f327b7 |
|
20-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Fixed reopening a mailbox. |
f87844c400cf9741abad57d9815121d0738a738f |
|
09-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Support retrying some IMAP commands if we get disconnected. |
edcd6f7223568e080d5a6767c5038e3bc891e963 |
|
09-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Initial support for automatically reconnecting to remote server. |
fb37a9b7bb71807a394e3ecdb74511f32a79c39b |
|
07-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Changed mailbox opening API to be more extensible. |
81d3c215bb1fdbda2cf7ccd9519f6b4fd03c3791 |
|
07-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Command sending API changed to be more extensible. |
5035404202587543bb4843d4aec46331651b6e16 |
|
26-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
Moved imapc-client into its own lib-imap-client library. |