zulip/zerver/tornado
Tim Abbott 3fd8d718f4 websockets: Fix race condition in CSRF token initialization.
It appears that we were not always initializing the Socket object
after `setup.js` had the opportunity to set csrf_token.

This should fix #6961.
2018-03-31 09:29:56 -07:00
..
__init__.py
application.py tornado: Sort imports in files with no merge conflicts. 2017-11-15 15:53:11 -08:00
descriptors.py Mypy: Migrate tornado/descriptors.py to python3 function annotations. 2018-03-15 12:54:43 -07:00
event_queue.py minor: Clean up how we set flags in events. 2018-03-28 15:56:03 -07:00
exceptions.py tornado: Sort imports in files with no merge conflicts. 2017-11-15 15:53:11 -08:00
handlers.py mypy: Rewrite some middleware annotations to use ViewFuncT. 2018-03-17 23:25:05 +00:00
ioloop_logging.py tornado: Sort imports in files with no merge conflicts. 2017-11-15 15:53:11 -08:00
socket.py websockets: Fix race condition in CSRF token initialization. 2018-03-31 09:29:56 -07:00
views.py mypy: Clarify valid types in tornado views via new variable. 2018-02-13 11:40:52 -08:00
websocket_client.py mypy: Use Python 3 type syntax in zerver/tornado/websocket_client.py. 2017-12-09 16:50:12 -08:00