Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33391

QNetworkAccessManager lookupHost(..) sometimes behaves like a blocking system call

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 4.8.5
    • Fix Version/s: None
    • Component/s: Network: DNS
    • Labels:
      None
    • Environment:
      ubuntu linux 12.04 with custom qt 4.8.5 download

      Description

      see my contributions to [1] and [2]:

      in a nutshell:
      Qt’s getaddrinfo(..) abstraction must be changed to make the lookupHost(..) call really async. right now it is sync, when the network connection between client and DNS server is interrupted, which isn’t that seldom as one might expect.

      for a detailed description please see:
      https://github.com/qknight/qt-QNetworkAccessManager-issues/tree/a43f6f03e6b7899c6cff28c2f9df729a7f885593#discussion

      also note my comments on the issue in the regard of the same error found by others, links:

      please feel free to contact me any time. this fix is too complicated for me as it might change the design quite a bit.

      best wishes,
      joachim schiele

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            shkearns Shane Kearns
            Reporter:
            qknight Joachim Schiele
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes