Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-760

Generated client code does not set or check the sequence ID in messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.2
    • 0.3
    • Java - Compiler
    • None
    • Patch Available

    Description

      The sequence ID is never set in the generated client code. It is also never checked. This means that if you continue to use a connection after a socket timeout the returned results can arrive out of sequence. When this happens an exception should be thrown so that incorrect results are never returned.

      Attachments

        Activity

          People

            jamesg James Grant
            jamesg James Grant
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: