thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-4540) buffered transport broken when trying to re-open a formerly closed transport
Date Mon, 02 Apr 2018 12:09:00 GMT
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)

Mime
View raw message