Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
0e6361d31693ec426774494cd8d3a5a46ae93ed1
Description
Unlike QAbstractSocket::connectToHostImplementation does, QAbstractSocket::waitForConnected does not check whether the current host name is an ip address before doing DNS query on it. As a result, it ends up performing an unecessary and sometimes expensive reverse name lookup. Please change waitForConnected to do the same thing connectToHostImplementation does.
Attachments
For Gerrit Dashboard: QTBUG-18881 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
21967,1 | QAbstractSocket::waitForConnected check if host name is an IP address | master | qt/qtbase | Status: MERGED | +2 | 0 |