You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2018/04/01 23:30:00 UTC
[jira] [Commented] (THRIFT-4539) Allow TBufferedTransport to be
used as base class
[ https://issues.apache.org/jira/browse/THRIFT-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16421846#comment-16421846 ]
Jens Geyer commented on THRIFT-4539:
------------------------------------
Also, the disposed flag needs to be protected, not private.
> Allow TBufferedTransport to be used as base class
> -------------------------------------------------
>
> Key: THRIFT-4539
> URL: https://issues.apache.org/jira/browse/THRIFT-4539
> Project: Thrift
> Issue Type: Improvement
> Components: C# - Library
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Major
>
> In the current form, {{TBufferedTransport}} cannot be used as base class, because there is a potential endless recusrion when {{public override int Read(byte[] buf, int off, int len)}} is overridden, because the inner function may call the outer again in an unexpected way.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)