You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Hoyoung Hwang <hw...@gmail.com> on 2011/06/02 11:03:30 UTC

Error in c++ client using THttpClient

Hi, I found the problem in  tutorial programs.
Maybe that is the problem of THttpTransport (C++)

Here is the problem,

1. PhpServer (in apache) & Php Client -> success
  ping()
  1+1=2
  InvalidOperation: Cannot divide by 0
  15-10=5
  Log: PHP is stateless!

2.  PhpServer (in apache) & C++ Client -> fail
  ping()
  ERROR: Could not refill buffer

3. PhpServer (in apache) & C++ Client(comment client.ping()) -> fail
  1+1=2
  ERROR: Could not refill buffer

2nd call always notice error.