You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Sergey Fasman (JIRA)" <ji...@apache.org> on 2016/08/03 09:48:20 UTC

[jira] [Comment Edited] (THRIFT-3877) C++: library don't work with HTTP.

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

Sergey Fasman edited comment on THRIFT-3877 at 8/3/16 9:48 AM:
---------------------------------------------------------------

Just start use libcurl and start buffering all received data instead of read it from network again.


was (Author: faserg1):
Just start use libcurl. Now it's normal!

> C++: library don't work with HTTP.
> ----------------------------------
>
>                 Key: THRIFT-3877
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3877
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.3, 1.0
>         Environment: Windows 7, Visual Studio 2013 (C#), Qt 5.7 (MSVC 12).
> Thrift from git repo, SHA-1: 5a3f855b4e6882184f13c698855c877241144a12 (master)
>            Reporter: Sergey Fasman
>
> Client on C++.
> Tested on C# HTTP server and client — work ideal.
> Then create client on C++. Client after request starts infinitly wait for data.
> For example, JSON protocol read data symbol by symbol, when trying read: it always try to call recv function (even all data already received).



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