]> git.ipfire.org Git - thirdparty/tornado.git/commit
websocket: Improve detection of closing websocket connections 2460/head
authorBen Darnell <ben@bendarnell.com>
Sun, 29 Jul 2018 14:25:04 +0000 (10:25 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 29 Jul 2018 14:25:04 +0000 (10:25 -0400)
commitb7c5317022c1680f8ee63fcb2327e33f82f57210
tree07095633669d3d25603d72e10c1b6816032d8300
parent99bb140dfed9f41e3c66fa5c76105710b2e70a5f
websocket: Improve detection of closing websocket connections

This eliminates the possibility of messages (especially pings) being
sent in the middle of the closing process (which is generally harmless
but results in errors being logged).

Fixes #2447
tornado/websocket.py