Details
-
Bug
-
Resolution: Unresolved
-
P5: Not important
-
None
-
5.11.3
-
None
Description
It's not really a bug but a feature.
When a connection timeout, a second attempt is made.
https://github.com/qt/qtbase/blob/5.11/src/network/socket/qabstractsocket.cpp#L1035
Can someone explain to me the reason ?
This code exists in all versions of Qt5 and Qt4.
If the application has its own timeout which is less than the timeout of the QNAM connection, I notice that I must delete the QNAM to abort its new attempt.
Is there a way to abort the QNAM connection without deleting the object ?