django-websocket-redis icon indicating copy to clipboard operation
django-websocket-redis copied to clipboard

Adding support to cross domains.

Open yguarata opened this issue 9 years ago • 4 comments

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.

yguarata avatar Apr 14 '16 11:04 yguarata

please rebase your pull request

jrief avatar Apr 06 '17 21:04 jrief

Pull request rebased.

yguarata avatar Jul 13 '17 19:07 yguarata

Closing this pull request because it is a little bit out of sync. I will perform some tests before opening another pull request.

yguarata avatar Jul 14 '17 12:07 yguarata

I've tested it with Django 1.8.18 and 1.11.3. Did I miss anything?

yguarata avatar Jul 17 '17 13:07 yguarata