[
https://issues.apache.org/jira/browse/THRIFT-3771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240944#comment-15240944
]
Hudson commented on THRIFT-3771:
--------------------------------
FAILURE: Integrated in Thrift-precommit #408 (See
[https://builds.apache.org/job/Thrift-precommit/408/])
THRIFT-3771 TBufferedTransport gets in invalid state on read/write (jensg:
[https://github.com/apache/thrift/commit/cdc83335d60756c4bfb0d2c8af7933500c9e3c06])
* lib/go/thrift/buffered_transport.go
> TBufferedTransport gets in invalid state on read/write errors
> -------------------------------------------------------------
>
> Key: THRIFT-3771
> URL: https://issues.apache.org/jira/browse/THRIFT-3771
> Project: Thrift
> Issue Type: Bug
> Components: Go - Library
> Reporter: Tyler Treat
> Assignee: Tyler Treat
> Fix For: 0.10.0
>
>
> Go's TBufferedTransport can enter an invalid state after an error occurs
> while calling read, write, or flush. This is because TBufferedTransport uses
> a bufio.ReadWriter, which "caches" the error returned by a call to read or
> write such that subsequent calls return the same error. This can be
> problematic if you wish to reuse the transport after a failed read or write.
> The solution is to reset the reader/writer on failed calls.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)