[
https://issues.apache.org/jira/browse/THRIFT-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624193#action_12624193
]
Kevin Clark commented on THRIFT-117:
------------------------------------
Yeah, looks like it was never added (grr at myself). I'd expect a test for
borrow to cover the cases we've talked about. When it has a buffer, and you ask
for less that than amount, it returns atleast the right amount. If you ask for
an amount, and you don't have it, it calls out to refill somehow. If it can't
refill, it errors appropriately. That sort of thing.
> FramedTransport should support borrow so it can be used with
> BinaryProtocolAccelerated
> --------------------------------------------------------------------------------------
>
> Key: THRIFT-117
> URL: https://issues.apache.org/jira/browse/THRIFT-117
> Project: Thrift
> Issue Type: New Feature
> Components: Library (Ruby)
> Reporter: Bryan Duxbury
> Assignee: Bryan Duxbury
> Attachments: thrift-117.patch
>
>
> FramedTransport should have a borrow() (and of course consume!)
> implementation so that it can be used with BinaryProtocolAccelerated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.