Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3390

TTornado server doesn't handle closed connections properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.3
    • 0.10.0
    • Python - Library
    • 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

          Activity

            People

              c4urself Christian Verkerk
              c4urself Christian Verkerk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: