On Mon, Oct 1, 2012 at 9:25 AM, Debby Mendez <
de...@josesmex.com> wrote:
> 1. If I don't care about "Stream is closed" errors after writing a response
> to a request, how can I get tornado to ignore them (currently I get a
> traceback to stdout)?
I just filed a new ticket[1] regarding these errors. I include my
current work-around, which is to do the following in a RequestHandler
subclass:
def finish(self, chunk=None):
if not self.request.connection.stream.closed():
super(RequestHandler, self).finish(chunk)
[1]
https://github.com/facebook/tornado/issues/601