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

QTcpSocket IPv4/6 connect time optimization

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • Network: Sockets
    • None

    Description

      Optimize QTcpSocket to minimize connection time when a host name resolves to both an IPv4 and IPv6 address.
      One possible route is to perform a two-pass connection attempt, as follows:

      • Attempt to connect to the v6 address with a reduced (3 second?) timeout
      • If connection attempt #1 times out, attempt to connect to the v4 address with a reduced timeout
      • If connection attempt #2 times out, try to connect to the v6 address with the full timeout
      • If connection attempt #3 times out, try to connect to the v4 address with the full timeout

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              jkatz Jeremy Katz (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes