You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/05 17:37:20 UTC
[jira] [Commented] (THRIFT-3942) TSSLSocket does not honor send and
receive timeouts
[ https://issues.apache.org/jira/browse/THRIFT-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549451#comment-15549451 ]
ASF GitHub Bot commented on THRIFT-3942:
----------------------------------------
GitHub user tpcwang opened a pull request:
https://github.com/apache/thrift/pull/1108
THRIFT-3942 Make TSSLSocket honor send and receive timeouts
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tpcwang/thrift THRIFT-3942
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/1108.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1108
----
commit e3977d663f0cc1830faf5644d7e88186e43e1634
Author: tpcwang <tp...@gmail.com>
Date: 2016-10-05T16:48:23Z
THRIFT-3942 Make TSSLSocket honor send and receive timeouts
----
> TSSLSocket does not honor send and receive timeouts
> ---------------------------------------------------
>
> Key: THRIFT-3942
> URL: https://issues.apache.org/jira/browse/THRIFT-3942
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9.3
> Reporter: Ted Wang
> Assignee: Ted Wang
>
> TSocket respects send and receive timeout, but TSSLSocket does not. This is because it always pass -1 to THRIFT_POLL in waitForEvent:
> https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/transport/TSSLSocket.cpp#L645
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)