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

Memory leak then using QNetworkProxy on https

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.13.0
    • Network: Proxies
    • None
    • Windows 10, Ubuntu on virtual machine
    • Linux/Other display system, Windows

    Description

      my app download small files many time. If it's don't use proxy - memory usage is stable, but if I call setProxy with proxy type QNetworkProxy::HttpProxy - i have stable increasing of memory usage. It's reproduced on Windows 10, and on ubuntu linux.
      Project to reproduce this attached

      On every click button - Memory usage increased about 1MB

      To reproduce issue - write down https address of small text file here 

      const QUrl url = QUrl::fromUserInput( "https://small page to test" );

       

      and write correct proxy params here 

      qNAM.setProxy(
      QNetworkProxy(
      QNetworkProxy::HttpProxy,
      "host",
      8000,
      "user",
      "password"
      ));

      Important conditions - https and proxy set
      Qt version 5.13.0

      Attachments

        1. after_1.png
          after_1.png
          54 kB
        2. after_2.png
          after_2.png
          56 kB
        3. before.png
          before.png
          52 kB
        4. leaks(https+no proxy).xml.7z
          2 kB
        5. leaks(https+proxy).xml.7z
          60 kB
        6. TestMemoryLeak.7z
          5 kB
        7. TestMemoryLeak.7z
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            denys Denys Dudko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes