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

Qt network blocking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.9, 5.12.4
    • Network
    • None
    • win7 Qt 5.6.2 Qt5.9.7 Qt5.12.3
    • Windows

    Description

      use  network  module.

      use network request : get ,post, socket's  bind,(get, post, socket的bind 基本上会卡10-20秒)

      in my computer, on  Qt 5.9.7  Qt 5.12.3 versions. There is a request blocking interface.(在我电脑上, 5.9.7  5.12.3执行网络请求都存在阻塞界面的问题)

       

      Qt 5.6.2 doesn't  exists  blocking。(我电脑上的Qt 5.6.2不存在这种阻塞情况,没有做复杂的操作,就执行一个post 或者 get)

      There is no problem running my compiled exe on other computers, but on my computer, it has existed so far.(我编译的exe放到其他电脑上不存在这种情况。别人用Qt写的在我电脑上也存在这种情况)

      Now  I'm replace network with libcurl 。

      (在局域网,本该瞬间完成的请求,在我电脑上要花20多秒,而且阻塞UI,放入thread也是一样的情况。)

      There are only three versions on my computer, which are not tested next to each other.(我电脑上只有这3个版本,没有挨着去测试.)

       

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            zyb z yb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes