Skip to content
Commit 9ca3a1b1 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

KManageSieve::Session: move network communication to a thread

This moves all code in KManageSieve::Session that deals with KTcpSocket and
SASL to a separate thread. The reason for this is that on a very bad/slow
internet connection the initial SASL handshake blocks in sasl_client_new(),
apparently due to synchronous DNS resolution. Handling the communication in
the main thread then freezes KMail on start as the Sieve code tries to check
for the Vacation script. Moving the SASL communication to a thread solves
the problem.

REVIEW: 125748
parent 8d44bb8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment