Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can I get 10 different URLs?

How can I get 10 different URLs?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 4 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    victor wang
    wrote on last edited by A Former User
    #1

    I'm using Q t5.5 on my computer.
    I want to get 10 different Urls.
    But when i using connect to do it will lost connect of the Url.
    This is my code here.

    And this is the replyFinished() slot here.

    How can i solve this problem?

    Please help

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Is the slot called those many times ? Since u r firing 10 request u may b hitting issue. Can u try firing 6 requests and try?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      V 1 Reply Last reply
      2
      • dheerendraD dheerendra

        Is the slot called those many times ? Since u r firing 10 request u may b hitting issue. Can u try firing 6 requests and try?

        V Offline
        V Offline
        victor wang
        wrote on last edited by
        #3

        @dheerendra

        I can firing for 5 times without any problem.

        But when i firing for 6 or more it will cause the problem sometimes.
        It cannot connect to the server.

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Your server probably can't cope with so many requests at once.

          Slow down. Wait for the first request to finish before you send your second one.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • dheerendraD Offline
            dheerendraD Offline
            dheerendra
            Qt Champions 2022
            wrote on last edited by
            #5

            QNetworkAccess manager can only handle max 6 requests in parallel. That may be causing the issue.

            Dheerendra
            @Community Service
            Certified Qt Specialist
            http://www.pthinks.com

            1 Reply Last reply
            2
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              @dheerendra while the number of parallel queries is correct, it should not have an influence here. The following queries will be queued and started once another as been completed. I think @JKSH is likely on the right track with a server side problem.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved