You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Pascal Bach (JIRA)" <ji...@apache.org> on 2016/03/03 14:13:18 UTC
[jira] [Updated] (THRIFT-3704) "TConnectedClient died: Could not
refill buffer" message shown when using HTTP Server
[ https://issues.apache.org/jira/browse/THRIFT-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pascal Bach updated THRIFT-3704:
--------------------------------
Attachment: 0001-Modify-tutorial-server-to-use-HTTP-and-JSON-to-repro.patch
This patch modifies the Tutorial server in a way that allows reproducing the issue.
***it's not a fix!!***
> "TConnectedClient died: Could not refill buffer" message shown when using HTTP Server
> -------------------------------------------------------------------------------------
>
> Key: THRIFT-3704
> URL: https://issues.apache.org/jira/browse/THRIFT-3704
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9.3
> Environment: Linux 64bit and Linux arm
> Reporter: Pascal Bach
> Attachments: 0001-Modify-tutorial-server-to-use-HTTP-and-JSON-to-repro.patch
>
>
> When using {{THttpTransport}} after every request the server prints the following message:
> {{TConnectedClient died: Could not refill buffer}}
> However the operation seems to be completed successfully.
> It doesn't matter what protocol is used (JSON, Binary). The issue can be observed independent of the client used (C++, JavaScript in Browser).
> The error is thrown in the {{THttpTransport::refill}} function in the case where read from the transport returns 0.
> I'm not sure if throwing an exception there is really necessary?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)