a56840e419fb37d98df754153118ff6f213f8233 |
|
28-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-smtp: client: Fix timeout leak sometimes occurring at unexpected remote disconnect.
While disconnected, newly submitted commands are queued, yet scheduled for
immediate failure. The timeout used for that was not cleaned up. |
3da7cb6c60e6a82661c9b763383d3944a911f6a4 |
|
24-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-smtp: client: Fix rawlog input stream inconsistency by updating streams right after initializing TLS.
Restructured the code to call a new function called smtp_client_connection_streams_changed() which performs all the necessary updates.
Before, enabling rawlog could break the TLS handshake. |
2dd20833b86743fe1e45c5af06d9c5f2549126e3 |
|
23-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-smtp: client: Make smtp_client_connection_commands_abort() more reliable by copying the command lists.
Copy the current lists of queued and waiting commands and reference each command before calling smtp_client_command_abort().
Aborting one command can cause other dependent commands to be aborted (in a transaction or from submission service), which could have caused trouble in this function. |
bd06411e6f2ffc9e0122824ba4edb774bb40c26f |
|
23-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-smtp: client: Make smtp_client_connection_commands_fail_reply() more reliable by copying the command lists.
Copy the current lists of queued and waiting commands and reference each command before calling smtp_client_command_fail_reply().
Failing one command can cause other dependent commands to be aborted (in a transaction or from submission service), which could have caused trouble in this function.
Problems would likely occur at connection disconnect. |