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

Better Open/IsOpen/Close behavior for StreamTransport.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.9.3
    • Component/s: Go - Library
    • Labels:
      None
    • Patch Info:
      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

            • Assignee:
              jensg Jens Geyer
              Reporter:
              cvlchinet Chi Vinh Le

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment