A struct greater than certain size will cause an exception to be thrown and the
data won't be written
-----------------------------------------------------------------------------------------------------
Key: THRIFT-533
URL: https://issues.apache.org/jira/browse/THRIFT-533
Project: Thrift
Issue Type: Bug
Components: Compiler (Cocoa)
Reporter: Matt Ronge
When writing a chunk of data greater than a certain size (like greater than a
couple hundred kilobytes), NSOutputStream can't write the data in one chunk.
The existing code detects this and throws an exception, so it is impossible
to send a struct greater than a certain size.
Attached is a patch which checks if all the data has been sent, if not it loops
until finished.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.