Diffusion KSmtp ec2afd27c790

Fix duplicate authentication

Authored by fvogt on Dec 22 2017, 10:02 AM.

Description

Fix duplicate authentication

Summary:
The response to EHLO triggers an authentication command, but with TLS
two EHLOs are sent: For the 220 from the server and after TLS negotiation.
However, sending it twice results in an unexpected "503 already authenticated"
response which ends up getting parsed by the SendJob, causing confusion.

By leaving the EHLO-resending to the SessionPrivate, the state can be properly
tracked.

BUG: 387926
BUG: 388068

Reviewers: mlaurent, dvratil

Subscribers: lbeltrame, cgiboudeaux

Differential Revision: https://phabricator.kde.org/D9476

Details

Committed
fvogtDec 23 2017, 12:09 PM
Differential Revision
D9476: Fix duplicate authentication
Parents
R733:02d4368d33ee: Add .arcconfig
Branches
Unknown
Tags
Unknown