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/02 12:09:00 UTC

[jira] [Created] (THRIFT-4540) buffered transport broken when trying to re-open a formerly closed transport

Jens Geyer created THRIFT-4540:
----------------------------------

             Summary: 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


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)