Priority: P2: Important
Affects Version/s: 5.9.6, 5.12.5
Fix Version/s: None
Component/s: Network: SSL
First, about my 2 testing environments:
Tried 2 different types of servers:
1) my own FTPES (vsftpd) with STARTTLS mandatory
2) SMTP: smtp.office365.com / 587 with STARTTLS
In all combinations of tests code always times out when i'm issuing:
and even if i try to set super big values, it anyway times out.
Both FTPES and Microsoft (boviously) servers are working alright.
testes them with other software (FileZilla and BlueMail on Android).
I also did a quick test on WIndows 10 with Qt 5.6.9 and libSSL 1.0.2g
And the code also timed-out
Here is what i found, this is a snippet of 'waitForEncrypted' from qsslsocket.cpp:
Please review, and your thoughts about it?
Also as a side note - if i connect to regular TLS server (not STARTTLS)
that i connect to with '->connectToHostEncryted()' - then Qt works as needed
in all my environtments!
Problem arises only with servers that are STARTTLS - based!
Thank you for attention!