Merging EOFException changes from Ben Maurer
authorMark Slee <mcslee@apache.org>
Mon, 26 Nov 2007 21:15:40 +0000 (21:15 +0000)
committerMark Slee <mcslee@apache.org>
Mon, 26 Nov 2007 21:15:40 +0000 (21:15 +0000)
commit53d9c0c20bd5af65676928b9b7a73dcb2cad3d78
treef0c76bf24315da72fbca98a993d97f5d1c72f93f
parent79b1694043e07a673c343c42ad75d72f3b560539
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: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665365 13f79535-47bb-0310-9956-ffa450edef68
lib/py/src/protocol/fastbinary.c
lib/py/src/transport/TTransport.py
test/py/TestEof.py [new file with mode: 0644]