[ 
https://issues.apache.org/jira/browse/THRIFT-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14961111#comment-14961111
 ] 

Hudson commented on THRIFT-3390:
--------------------------------

SUCCESS: Integrated in Thrift #1690 (See 
[https://builds.apache.org/job/Thrift/1690/])
THRIFT-3390 Tornado server should gracefully handle closed connections (jensg: 
rev 145749c7a2692a29e2c7fc4088e336e37a2ff7e3)
* lib/py/src/TTornado.py


> 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
>            Assignee: Christian Verkerk
>             Fix For: 1.0
>
>
> 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