Open yguarata opened 8 years ago
please rebase your pull request
Pull request rebased.
Closing this pull request because it is a little bit out of sync. I will perform some tests before opening another pull request.
I've tested it with Django 1.8.18 and 1.11.3. Did I miss anything?
It was added the setting WEBSOCKET_HOST. This enables using websockets in cross domains. This is, the websocket domain (e.g. ws.myapp.com) is different from the site domain (e.g. www.myapp.com). However, it is mandatory to provide the Django setting SESSION_COOKIE_DOMAIN (e.g. SESSION_COOKIE_DOMAIN = '.myapp.com'). This pull request is backwards compatible. Documentation and changelog were updated accordingly.