[
https://issues.apache.org/jira/browse/THRIFT-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187382#comment-15187382
]
Hudson commented on THRIFT-3704:
--------------------------------
SUCCESS: Integrated in Thrift-precommit #290 (See
[https://builds.apache.org/job/Thrift-precommit/290/])
THRIFT-3704 Treat the case where we are not able to refill the buffer (roger:
[https://github.com/apache/thrift/commit/af9d2ac69e6638066db75654ba289bc7d98777a5])
* lib/cpp/src/thrift/transport/THttpTransport.cpp
> "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
> Assignee: Pascal Bach
> Attachments:
> 0001-Modify-tutorial-server-to-use-HTTP-and-JSON-to-repro.patch,
> 0001-Treat-the-case-where-we-are-not-able-to-refill-the-b.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)