You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by David <he...@163.com> on 2013/12/21 07:21:04 UTC
Re: Thrift Interface between Php Server and C++ Client.
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~