commit | 698713cf644661faa935f0b5cdee2b8e4a99f1a2 | [log] [tgz] |
---|---|---|
author | eletuchy <dev-null@apache.org> | Tue Feb 26 11:44:00 2008 +0000 |
committer | eletuchy <dev-null@apache.org> | Tue Feb 26 11:44:00 2008 +0000 |
tree | bb2480379e996f4c829f68e4848067e945b19142 | |
parent | 0e18224473b8bad918e060900663a9d0058d7196 [diff] |
[thrift] better error handling and timeouts in tSocket code Summary: default socket send timeout to 5seconds, not infinity. close the socket in case of an error. Reviewed By: cpiro Test Plan: ran a client for slow services and sanity checked other client code to make sure Revert Plan: sure git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665504 13f79535-47bb-0310-9956-ffa450edef68