[ 
https://issues.apache.org/jira/browse/THRIFT-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuxuan Wang closed THRIFT-5404.
-------------------------------

> 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
>            Priority: Major
>             Fix For: 0.15.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to