I make C++ client which use THttpClient instead TSocket
* //shared_ptr<TTransport> socket(new TSocket("localhost", 9090));*
* shared_ptr<TTransport> socket(new THttpClient("127.0.0.1", 80,
"/php/PhpServer.php"));*
* shared_ptr<TTransport> transport(new TBufferedTransport(socket));*
* shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));*
* CalculatorClient client(protocol);*
But It return Error : "ERROR: Could not refill buffer"
Actually, the first call return success, but second call is failed.
The exception was thrown by "THttpTransport::refill"
please help