[thrift] Propogate exceptions from transports in thrift_protocol extension
authordweatherford <dev-null@apache.org>
Fri, 11 Apr 2008 02:51:44 +0000 (02:51 +0000)
committerdweatherford <dev-null@apache.org>
Fri, 11 Apr 2008 02:51:44 +0000 (02:51 +0000)
commite4dc4f53660c5386aaa8387f900164e262d9f11b
tree6bf7119dd594723b29c39ac69c86f603024417ff
parent8361bf05659f9d1e458d76f8ee0657ea5e009b6a
[thrift] Propogate exceptions from transports in thrift_protocol extension

Summary: Otherwise, it will spin forever if your socket connection gets dropped
  or otherwise times out.
Reviewed by: dbraginsky
Test plan: Modified TSocket to always throw an exception on read() and tried
  some service calls
Revert: svn

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665652 13f79535-47bb-0310-9956-ffa450edef68
lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp