[
https://issues.apache.org/jira/browse/THRIFT-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763776#comment-16763776
]
James E. King III commented on THRIFT-3877:
-------------------------------------------
Apparently this problem is evident elsewhere, for example all of the py3-java
http cross tests are failing when they get to the ONEWAY call. I dug into it
some more and I found that the python HTTP server is responding with a "200 OK"
(see THttpServer.py - it always responds even if there is no data to post).
However on the java client side, the base class TServiceClient.java does not
give the transport an opportunity to pull the HTTP response off the wire.
While there is no expected protocol response to this oneway request, there is a
transport response, and it has to be consumed...
> C++: library don't work with HTTP (csharp server, cpp client; need cross test
> enhancement)
> ------------------------------------------------------------------------------------------
>
> 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, 0.10.0
> Environment: Windows 7, Visual Studio 2013 (C#), Qt 5.7 (MSVC 12).
> Thrift from git repo, SHA-1: 5a3f855b4e6882184f13c698855c877241144a12 (master)
> Reporter: Sergey Fasman
> Assignee: James E. King III
> Priority: Critical
>
> 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
(v7.6.3#76005)