You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2019/11/27 21:33:00 UTC
[jira] [Resolved] (THRIFT-5036) buffered transport over sockets may
run into unexpected timeouts
[ https://issues.apache.org/jira/browse/THRIFT-5036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5036.
--------------------------------
Fix Version/s: 0.14.0
Resolution: Fixed
> buffered transport over sockets may run into unexpected timeouts
> ----------------------------------------------------------------
>
> Key: THRIFT-5036
> URL: https://issues.apache.org/jira/browse/THRIFT-5036
> Project: Thrift
> Issue Type: Bug
> Components: Delphi - Library
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Major
> Fix For: 0.14.0
>
> Attachments: 0001-THRIFT-5036-buffered-transport-over-sockets-may-run-.patch
>
>
> The combination of sockets with buffered transport reproducibly runs into an unexpected timeout error. The cause is that buffered attempts to read more bytes than what is actually available. Since that case is not handled properly at TTcpSocketStreamImpl transport, the code will error out with an - in this case highly unexpected - timeout exception.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)