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:15:00 UTC

[jira] [Updated] (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 updated THRIFT-5036:
-------------------------------
    Description: 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.  (was: The combination with buffered transport reproducibly runs into an unexpected timeout. Cause is that buffered attempts to read more bytes than what is actually available. Since that case is not handled properly, the code will error out with an - in this case unexpected - timeout exception.)

> 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
>
> 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)