[ 
https://issues.apache.org/jira/browse/THRIFT-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732667#action_12732667
 ] 

David Reiss commented on THRIFT-535:
------------------------------------

Sorry to jump in late on this one, but the biggest number that you can put in a 
signed 32-bit value is 2^31-1

dre...@dr-mbp:master:dreiss$ printf '#include <limits.h>\nINT_MAX\n' | cpp | 
tail -n1
2147483647


> Twisted Thrift protocol max length is too small
> -----------------------------------------------
>
>                 Key: THRIFT-535
>                 URL: https://issues.apache.org/jira/browse/THRIFT-535
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Python)
>            Reporter: Esteve Fernandez
>            Assignee: Esteve Fernandez
>         Attachments: thrift_535.patch
>
>
> Both ThriftClientProtocol and ThriftServerProtocol have a limit on 99999 
> bytes per message. This is due to Twisted's IntNStringReceiver's MAX_LENGTH 
> variable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to