Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4540

buffered transport broken when trying to re-open a formerly closed transport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • Delphi - Library
    • None
    • Patch Available

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jensg Jens Geyer
              jensg Jens Geyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: