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

QNetworkReply with error never finishes with a SOCKS-proxy set.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.3.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Archlinux, OpenSSH_6.7p1

      Description

      When a QNetworkReply which was requested with a proxy has an error, the finished-signal is never emitted and it just appears to "hang".

      Attached is the http example minimally modified to use a SOCKS proxy on localhost:9999.

      I use SSH for the proxy:

      ssh -N -D9999 my-server.org

      An existing URL works as expected. When trying to download an unexistent URL (http://foo.bar), the reply never finishes.

      Without the proxy, an error gets shown as expected.

        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:
              the compiler Florian Bruhin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes