You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "René Keimling (JIRA)" <ji...@apache.org> on 2016/04/27 13:32:13 UTC

[jira] [Commented] (THRIFT-2073) Thrift C++ THttpClient error: cannot refill buffer

    [ https://issues.apache.org/jira/browse/THRIFT-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259996#comment-15259996 ] 

René Keimling commented on THRIFT-2073:
---------------------------------------

Could you please reopen this issue? I've still this error even with Thrift 0.9.3. I've a C++ server and client.

When I use the TServerSocket, TBufferedTransportFactory and TBinaryProtocolFactory on the server and TSocket, TBufferedTransport and TBinaryProtocol  on the client the connection works fine.

If I switch to TServerSocket, THttpServerTransportFactory and TJSONProtocolFactory on the server and THttpClient and TJSONProtocol on the client then I still get the "cannot refill buffer" error.

C++ Server runs on Arch Linux ARM, raspberry pi2 and c++ client runs on Win7 with MSVC2015
I've tested thrift 0.9.3 and the master branch from today, both versions seems to be affected.

> Thrift C++ THttpClient error: cannot refill buffer
> --------------------------------------------------
>
>                 Key: THRIFT-2073
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2073
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: One http thrift server is implemented in java. I use THttpClient( in java or python) to call the server and everything works well. However, if I use THttpClient(in C++), sometimes the client got the error "cannot refill buffer". Is it a known issue or is there a patch? 
> BTW: The Thrift versions  for both server and client we used is 0.9.0. 
> Thanks a lot.
>            Reporter: he 
>             Fix For: 0.9.3
>
>
> One http thrift server is implemented in java. I use THttpClient( in java or python) to call the server and everything works well. However, if I use THttpClient(in C++), sometimes the client got the error "cannot refill buffer". Is it a known issue or is there a patch? 
> BTW: The Thrift versions  for both server and client we used is 0.9.0. 
> Thanks a lot.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)