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

application cannot connect to localhost when network is unreachable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.1, 5.10
    • Fix Version/s: 5.9.2
    • Labels:
      None
    • Environment:
      Ubuntu 16.04.3
      plasma desktop
      NetworkManager

      Description

      steps to reproduce:
      1) unpack the dataset (mymap.tar.gz) somewhere
      2) serve it over http on port 8080 (e.g., using twisted, twistd -n web --path somewhere/mymap --port 8080)
      3) unpack and build the sample
      4) unplug the ethernet cable
      5) run the application

      expected result: blank map. and warnings about

      QHttpNetworkConnectionPrivate::_q_hostLookupFinished could not de-queue request
      

      repeating the steps and skipping 4) will make it work

        Attachments

        1. customMapType.tar.gz
          1 kB
        2. mymap.tar.gz
          593 kB
        For Gerrit Dashboard: QTBUG-63033
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            manordheim MÃ¥rten Nordheim
            Reporter:
            paangele Paolo Angelelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes