You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chi Vinh Le (JIRA)" <ji...@apache.org> on 2014/11/24 22:25:13 UTC
[jira] [Created] (THRIFT-2852) Better Open/IsOpen/Close behavior
for StreamTransport.
Chi Vinh Le created THRIFT-2852:
-----------------------------------
Summary: Better Open/IsOpen/Close behavior for StreamTransport.
Key: THRIFT-2852
URL: https://issues.apache.org/jira/browse/THRIFT-2852
Project: Thrift
Issue Type: Bug
Components: Go - Library
Affects Versions: 0.9.2
Reporter: Chi Vinh Le
Fix For: 0.9.3
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)