summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteinitialization.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-04-18 11:05:26 -0700
committerThiago Macieira <thiago.macieira@intel.com>2024-04-22 21:36:29 -0700
commitf19e9f2521ff7784223ec34fc6794583f4faa2a5 (patch)
treeb0459b05f45446d0bb23f2c84db5b60f8bfab0c6 /src/tools/uic/cpp/cppwriteinitialization.cpp
parentd139642aefde2d00683cf29f3875ccfae6c66779 (diff)
QDnsLookup/Unix: handle more error conditions from res_nsend()
It does set ECONNREFUSED explicitly. So let's reuse ServerRefusedError for it too (it was so far only used when we got a REFUSED DNS answer), which allows tst_QDnsLookup to handle this as an ignorable failure. For almost everything else, it sets ETIMEDOUT to indicate "no answer", which isn't useful. So let's inspect the reply to see if it has something. Pick-to: 6.7 Change-Id: I455fe22ef4ad4b2f9b01fffd17c771ffa4a998be Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions