thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David <heizhima_2...@163.com>
Subject Re: Thrift Interface between Php Server and C++ Client.
Date Sat, 21 Dec 2013 06:21:04 GMT
Wasim Haider Chowdhury <wasimhc <at> gmail.com> writes:

> 
> Hi Experts,
> 
> I need to develop thrift interface between Php Server and C++ client. Php is
> running on Apache. In C++ code, I’ve used THttpClient to connect with the
> Php Server, and finally I’ve got error message “Bad Status Http 1.1”.
> 
> I also used TSocket in CPP client code, and generated error “No more data to
> read”.
> 
> I hope that you can resolve this problem.
> 
> Thank you in advance.
> 
> Regards,
> 
> Wasim
> 


The method to solve this problem, is just 
change the 'path' argument to be started with '/' , like '/thrift' .

It's taken me hours to find out the reason !

Hope this is useful, thought it's 2 years later right now, and
Merry Christmas! LOL~


Mime
View raw message