diff options
author | David Faure <faure@kde.org> | 2010-09-28 12:11:16 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-09-28 14:00:10 (GMT) |
commit | 52734ec862b06ca050b7a483fe232142cdd23507 (patch) | |
tree | 46f4ad68fefb6bf2f99222630f536bda78857028 /src/network/kernel/qnetworkinterface_win.cpp | |
parent | 4f82ba7aeb62da4c8f537a697ced68c43d262f8f (diff) | |
download | Qt-52734ec862b06ca050b7a483fe232142cdd23507.zip Qt-52734ec862b06ca050b7a483fe232142cdd23507.tar.gz Qt-52734ec862b06ca050b7a483fe232142cdd23507.tar.bz2 |
Insert the result of QHostInfo::fromName into the hostinfo cache, too.
This way both synchronous and asynchronous lookups are cached, resulting
in more reliable behavior: this issue was detected by kde's ktcpsockettest
where state() was sometimes HostLookupState and sometimes ConnectedState,
depending on whether the previous lookups were done by the thread or by
the blocking lookup in QAbstractSocket::waitForConnected.
Merge-request: 829
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/kernel/qnetworkinterface_win.cpp')
0 files changed, 0 insertions, 0 deletions