You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/12/04 06:20:35 UTC
[jira] [Commented] (THRIFT-2279) TSerializer only returns the first
1024 bytes serialized
[ https://issues.apache.org/jira/browse/THRIFT-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13838604#comment-13838604 ]
Hudson commented on THRIFT-2279:
--------------------------------
SUCCESS: Integrated in Thrift #948 (See [https://builds.apache.org/job/Thrift/948/])
THRIFT-2279 TSerializer only returns the first 1024 bytes serialized (jensg: rev 7949447efdcb2b355d3140a0d1a765e98a9a9e68)
* lib/go/thrift/serializer.go
> 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)