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

TSerializer only returns the first 1024 bytes serialized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: Go - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      TSerializer copies from the transport into a 1024 length byte array and returns the array, which will effectively clips off everything after the first 1k. The attached patch instead returns a copy of the underlying memory buffer used by the transport.

        Attachments

        1. tserializer.diff
          2 kB
          Matt Jones

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattpin Matt Jones
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: