f2217546e5d72083977812c42a951ecad1757ac5 |
|
23-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-smtp: client: Fix smtp_client_command_name_equals() to work properly after the command is submitted.
At command submission, CRLF is appended to command data. This messed up the name comparison.
This in turn caused a spurious QUIT command to be sent to the server at connection close. |
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. |