facebook/tornado — pull request #514 by ahassany (2012-05-24 17:26:50+00:00)
Title: Better connection check in RequestHandler

RequestHandler checks only if the connection is an attribute to the request object. By default HTTPRequest has connection=None which going to make the RequestHandler to fail in adding a stream close callback.