You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kevin Clark (JIRA)" <ji...@apache.org> on 2009/02/04 23:45:59 UTC
[jira] Closed: (THRIFT-254) Add optional strict version support to
binary protocols
[ https://issues.apache.org/jira/browse/THRIFT-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Clark closed THRIFT-254.
------------------------------
Resolution: Fixed
Fix Version/s: 0.1
> Add optional strict version support to binary protocols
> -------------------------------------------------------
>
> Key: THRIFT-254
> URL: https://issues.apache.org/jira/browse/THRIFT-254
> Project: Thrift
> Issue Type: Improvement
> Components: Library (Ruby)
> Reporter: Michael Stockton
> Priority: Minor
> Fix For: 0.1
>
> Attachments: thrift-254-v2.patch, thrift-254-v3.patch, thrift-254.patch
>
>
> Several thrift libraries do not read a thrift version number in messages by default. This can cause issues for a ruby user who interacts with thrift services written in other languages because the ruby library doesn't support an option to disable version validation.
> This patch does not change the default behavior, where thrift version numbers are expected, but it does add the option to disable version validation.
> For example:
> Thrift::BinaryProtocol.new(transport, strict_read=false, strict_write=true)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.