Christian Verkerk created THRIFT-3390:
-----------------------------------------

             Summary: TTornado server doesn't handle closed connections properly
                 Key: THRIFT-3390
                 URL: https://issues.apache.org/jira/browse/THRIFT-3390
             Project: Thrift
          Issue Type: Bug
          Components: Python - Library
    Affects Versions: 0.9.3
            Reporter: Christian Verkerk


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`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to