You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jeremy W. Sherman (JIRA)" <ji...@apache.org> on 2015/02/06 15:53:35 UTC

[jira] [Created] (THRIFT-2985) TFramedTransport should handle writing data larger than the max frame size

Jeremy W. Sherman created THRIFT-2985:
-----------------------------------------

             Summary: TFramedTransport should handle writing data larger than the max frame size
                 Key: THRIFT-2985
                 URL: https://issues.apache.org/jira/browse/THRIFT-2985
             Project: Thrift
          Issue Type: Bug
          Components: Cocoa - Library
    Affects Versions: 0.9.2
            Reporter: Jeremy W. Sherman


TFramedTransport frames its messages with a 32-bit unsigned integer in network byte order. It writes only when -flush is called.

However, it can buffer an unlimited amount of data prior to flush being called, and on 64-bit platforms, it can be requested to buffer more than UINT32_MAX in a single write call.

It should handle breaking a single large buffer into several framed buffers for writing during flush.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)