Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.3
-
None
Description
The Tornado Thrift server uses a TTornadoStreamTransport that uses Tornado's IOStream to handle incoming connections. The main method for handling this is a while loop in `handle_stream` that waits for incoming data. This works fine until the client decides to stop the connection in which case TTransportException.END_OF_FILE is raised. This exception is expected behaviour and should be caught appropriately in `handle_stream`.
Attachments
Issue Links
- duplicates
-
THRIFT-3154 tutorial/py.tornado throw EOF exception
- Closed