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

qnetworkproxy_symbian may return wrong proxy in multihomed situations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.x
    • 4.7.3, 4.7.4, 4.8.0
    • Network: Proxies
    • 916076bfec520210966f67ae211af65b21a29dac

    Description

      If no network configuration is specified in the query, then the first active configuration is used.
      Active configurations are listed using QNetworkConfigurationManager::allConfigurations, but this includes configurations that were activating by another process.
      So if an application is trying to use GPRS, its traffic may be incorrectly routed towards a WLAN proxy because another application has started the WLAN.

      This should not affect QNetworkAccessManager traffic in 4.8 and 4.7.4, because the proxy query includes the network configuration.

      Most severe impact is if the socket is bound to a specific bearer, but a proxy from a different bearer is selected.
      This is because the socket connection will timeout as the IP address is unreachable (or refers to a different host for private addresses)
      As standard practice is to drop packets rather than return unreachable responses, the connect is likely to timeout rather than fail fast.

      Attachments

        Issue Links

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

          Activity

            People

              shkearns Shane Kearns
              shkearns Shane Kearns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes