r1349@opsdev009 (orig r71343): mcslee | 2007-11-26 13:15:40 -0800
commitf3b98f9a3623b0e71d5fe0bc4cf6df1fdd4fc5bd
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Mon, 26 Nov 2007 21:19:15 +0000 (26 21:19 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Mon, 26 Nov 2007 21:19:15 +0000 (26 21:19 +0000)
treef0c76bf24315da72fbca98a993d97f5d1c72f93f
parent37f34418adc76de97365ef7008a0a1f3f3e1dba8
 r1349@opsdev009 (orig r71343):  mcslee | 2007-11-26 13:15:40 -0800
 Merging EOFException changes from Ben Maurer

 Summary: Throw a proper EOFError in this case. Long term we want to change this to properly fit into the Thrift TException heirarchy with a good way to handle the original exception as well. For now, Ben is the primary user of this so we'll go ahead with his patch.

 Reviewed By: mcslee

 Test Plan: Included in test/py/TestEof.py

git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@693 41a61cd8-c433-0410-bb1c-e256eeef9e11
lib/py/src/protocol/fastbinary.c
lib/py/src/transport/TTransport.py
test/py/TestEof.py [new file with mode: 0644]