You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/07/08 17:07:00 UTC
[jira] [Resolved] (THRIFT-4844) createConnection ignores
connect_timeout option
[ https://issues.apache.org/jira/browse/THRIFT-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III resolved THRIFT-4844.
---------------------------------------
Resolution: Fixed
Assignee: James E. King III
Fix Version/s: 0.13.0
> createConnection ignores connect_timeout option
> -----------------------------------------------
>
> Key: THRIFT-4844
> URL: https://issues.apache.org/jira/browse/THRIFT-4844
> Project: Thrift
> Issue Type: Bug
> Components: Node.js - Library
> Affects Versions: 0.12.0
> Reporter: Filippo Malaguti
> Assignee: James E. King III
> Priority: Major
> Fix For: 0.13.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> connect_timeout and timeout options passed to createConnection are ignored during first connection attempt.
> Checking the source code, connect_timeout seems to be used only during reconnection retries, while timeout is applied to underlying socket only after the connect event.
> Probably it whould be better to pass the connection timeout directy to the net.createConnection call.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)