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

Better Open/IsOpen/Close behavior for StreamTransport.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2
    • 0.9.3
    • Go - Library
    • None
    • Patch Available

    Description

      I use StreamTransport a lot to test functionality locally that otherwise uses a Socket transport. Current implementation of IsOpen returns always true, even though after a close, the whole transport is not usable.

      The following PR implements IsOpen, Open and Close that reflects the internal state and behaves more similar to other transports like TSocket.

      https://github.com/apache/thrift/pull/285

      Attachments

        Activity

          People

            jensg Jens Geyer
            cvlchinet Chi Vinh Le
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: