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

QNetworkProxyFactory::systemProxyForQuery always returns the same list on OS X 10.10.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Component/s: Network: Proxies
    • Labels:
      None
    • Environment:
      Mac OS X 10.10.2
    • Platform/s:
      macOS

      Description

      On OS X 10.10.2, with QT 5.4.0 I tried getting a list of all available proxies via QNetworkProxyFactory::systemProxyForQuery. The function always returns a list of length 1 with a dummy entry that has no hostname set, port 0 and is of type NoProxy.

      In our test setup, the OS X machine is connected to two interfaces (i.e. has two IP addresses of different networks assigned to one ethernet interface) that could theoretically have two different proxy settings configured.

      Regardless of proxy settings on either interface, the minimal sample I attached always produces the following output:

      Number of proxies: 1
      ---------- Proxy 0 ----------
      Hostname: 
      Port: 0
      Type: 2
      Transparent: 1
      Caching: 0
      Capabillities: 7
      

        Attachments

        1. main.cpp
          0.9 kB
        2. test.pro
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              goliath David Oberhollenzer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes