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

The readLength attribute of TBinaryProtocol is used as an instance variable and is decremented on each call of checkReadLength

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2, 0.3
    • 0.9.1
    • Java - Library
    • None

    Description

      When coding towards readLength, I saw this more as a check on the message length as it comes in. Perhaps its me, but I just dont see why this should decrement giving the length header for each message.

      Attachments

        1. 820.patch
          10 kB
          Carl Yeksigian
        2. 820-v2.patch
          12 kB
          Carl Yeksigian
        3. tbinaryprotocol-length-check-patch-THRIFT-820.txt
          0.6 kB
          Nate McCall

        Issue Links

          Activity

            People

              carlyeks Carl Yeksigian
              zznate Nate McCall
              Votes:
              3 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: