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

Https requests through proxy either hang or crash

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 21
    • Qt6_Foundation_Sprint 35, Qt6_Foundation_Sprint 36

    Description

      Trying to make a https request through proxy which requires authentication causes the application to crash or to hang. It seems to always work fine for http requests.

      It does not seem to matter if it is http or socks5 proxy, the crash happens in sendRequest() and in debug build an assert in qtbase/src/network/access/qhttpnetworkconnectionchannel.cpp, line 257 (Qt5.15.3) triggers.

      This can be reproduced at least with CCProxy as the proxy server with Permit Only and Auth Type set to User/Password and some user defined. Then trying to run attached example.

      Attachments

        Activity

          People

            manordheim Mårten Nordheim
            poikelin Joni Poikelin
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: