You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/11/24 22:58:12 UTC
[jira] [Closed] (THRIFT-2852) Better Open/IsOpen/Close behavior for
StreamTransport.
[ https://issues.apache.org/jira/browse/THRIFT-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer closed THRIFT-2852.
------------------------------
Resolution: Fixed
Committed, thanks!
> 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
> Assignee: Jens Geyer
> 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)