GitHub user lifei opened a pull request: https://github.com/apache/thrift/pull/1086
THRIFT-3926 Emit an error for bad http status code Sometimes the thrift servers is not ready to serve requests from the client. The status code of response from the services is 40x or 50x. But the client is never telled in this version of http_connections. There is no error at all even when the response protocol is bad. You can merge this pull request into a Git repository by running: $ git pull https://github.com/lifei/thrift master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1086.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1086 ---- commit a92f27c3174b405dabd92562602cf075742569bc Author: lifei <li...@bytedance.com> Date: 2016-09-14T09:38:47Z THRIFT-3926 Emit an error for bad http status code ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---