You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2018/12/27 15:25:16 UTC
[jira] [Closed] (THRIFT-4540) buffered transport broken when trying
to re-open a formerly closed transport
[ https://issues.apache.org/jira/browse/THRIFT-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III closed THRIFT-4540.
-------------------------------------
> buffered transport broken when trying to re-open a formerly closed transport
> ----------------------------------------------------------------------------
>
> Key: THRIFT-4540
> URL: https://issues.apache.org/jira/browse/THRIFT-4540
> Project: Thrift
> Issue Type: Bug
> Components: Delphi - Library
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Major
> Fix For: 0.12.0
>
>
> TBufferedTransportImpl does not properly set and clear all member vars, which leads to all kinds of strange errors after reopening a formerly closed stream. Root cause is that {{InitBuffers}} must be called when {{Open}}-ing the transport again to get the internal interface pointers aligned again. If this is not done, any read/write may either fail straight away, or may produce errors that indicate an invalid underlying transport.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)