Skip to content

fix: TlsConnection: Deadlock on connectAsync

Thibault Lemaire requested to merge hotfix/deadlock-on-asyncconnect into release/2.3

When called twice in a row, connectAsync attempted to destruct the previous mThread, effectively joining it. This was a problem when the connection was timing out as that blocked the main loop for 20s.

(It's more of a "longlock" than a deadlock, if that were a thing)

Merge request reports