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

TSerializer only returns the first 1024 bytes serialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • Go - Library
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: