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

http_proxy is not a good default if no specific protocol proxy was found

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 4.8.6, 5.3.1
    • Fix Version/s: 5.9
    • Component/s: Network: Proxies
    • Labels:
      None
    • Environment:
      Debian GNU/Linux, Sid.
    • Commits:
      c0157a9f035a27a3ba20cab0ca3ca1c6e78f0b14

      Description

      Lines 111 to 113 of qtbase/src/network/kernel/qnetworkproxy_generic.cpp set http_proxy as the default source for a protocol proxy in case no specific protocl proxy was found.

      I have turned on -system-proxies in Debian both in Qt4 and Qt5, and started receiving bug reports of users wanting to use a proxy only for http but for other protocls like, for example, IMAP. But they found out that setting http_proxy would make their apps try to use the proxy for everything.

      So I guess the "culprit" here are the lines mentioned above.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                peter-har Peter Hartmann
                Reporter:
                lisandropm Lisandro Damián Nicanor Pérez Meyer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes