[
https://issues.apache.org/jira/browse/THRIFT-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-2279.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.9.2
Committed, thanks Matt!
> TSerializer only returns the first 1024 bytes serialized
> --------------------------------------------------------
>
> Key: THRIFT-2279
> URL: https://issues.apache.org/jira/browse/THRIFT-2279
> Project: Thrift
> Issue Type: Bug
> Components: Go - Library
> Affects Versions: 0.9.1
> Reporter: Matt Jones
> Fix For: 0.9.2
>
> Attachments: tserializer.diff
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)