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

Networking: 2 Socks messages in 1 TCP packet fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.12.5
    • 5.3.0 Alpha
    • Network
    • None

    Description

      Quotes from the Mailing list:

      There is still one problem that prevents us from deploying the new
      network test server image.

      The problem only shows within the Digia network; I cannot reproduce it
      locally. This makes it somewhat tedious to debug, if somebody from Digia
      has more insights or wants to help debugging, I would be happy to hear.
      So far I have sent patches to Tony, who applied them for me and pasted
      me the results, which makes turnaround time quite long.

      What I think the problem is: We get 2 Socks messages in 1 TCP packet, so
      the read notifier only fires once, then we never parse the 2nd Socks
      message.

      Unfortunately the codepaste from the Digia test has expired; IIRC they
      were the 2 responses to our Connect Command:

      1. Results(V5): Succeeded, Address Type, Remote Address, Port
      2. Command: Connect, Remote Address, Remote Port

      So I think we need to make the our socket engine parse the 2nd message
      as well, even without an explicit readyReady().

      Attachments

        Issue Links

          Activity

            People

              cnn Qt Core & Network
              frederik Frederik Gladhorn
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: