Yuxuan Wang created THRIFT-5404: ----------------------------------- Summary: Connection timeout errors from TSocket are not treated as timeouts Key: THRIFT-5404 URL: https://issues.apache.org/jira/browse/THRIFT-5404 Project: Thrift Issue Type: Bug Components: Go - Library Affects Versions: 0.14.1 Reporter: Yuxuan Wang Assignee: Yuxuan Wang
In TSocket.Open, when connect timeout happens, we [wrap it into TTransportException with type NOT_OPEN|https://github.com/apache/thrift/blob/e27e82c46ba4d46c2c3267701191cdc26614f739/lib/go/thrift/socket.go#L169], but in TTransportException.Timeout [we only treat TIMED_OUT as time outs|https://github.com/apache/thrift/blob/e27e82c46ba4d46c2c3267701191cdc26614f739/lib/go/thrift/transport_exception.go#L75] -- This message was sent by Atlassian Jira (v8.3.4#803005)