Better handling of write on a closed TSocket ---------------------------------------------
Key: THRIFT-1454 URL: https://issues.apache.org/jira/browse/THRIFT-1454 Project: Thrift Issue Type: Improvement Components: C++ - Library Reporter: Dave Watson Priority: Minor Attachments: 0005-Better-handling-of-write-on-a-closed-TSocket.patch >From 9d33027d86ea95fc89567560a2cfd1c933bd5aaa Mon Sep 17 00:00:00 2001 From: Nathan Schrenk <nschr...@fb.com> Date: Fri, 23 Jul 2010 23:25:09 +0000 Subject: [PATCH 5/5] Better handling of write on a closed TSocket Summary: TSocket.send() was expecting a send() on the underlying socket to fail by returning zero, but the actual behavior is to raise an exception. Test Plan: I'll come up with a way to test this if the code change looks good to the reviewers. DiffCamp Revision: 135046 Reviewed By: dreiss Commenters: simpkins CC: python-diffs@lists, dreiss, kholst, simpkins, nschrenk, thrift-team@lists Tasks: closed socket -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira