Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Jan 18, 2015
1 parent 6cf4b2c commit 19a64d3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v0.6.2
======

* refactor authorization logic (POST request to `auth_url_address`) when using `is_private` namespace option. 403 response code from web application now results in immediate return without permission to subscribe on channel.


v0.6.1
======

Expand Down
2 changes: 1 addition & 1 deletion centrifuge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf-8
# Copyright (c) Alexandr Emelin. MIT license.

__version__ = "0.6.2dev"
__version__ = "0.6.2"
3 changes: 2 additions & 1 deletion docs/content/description.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ Turn it off if you expect high load in channels.
joins to Centrifuge - you provide user id in connection parameters. Centrifuge sends POST
request with user id and channel name on this URL address when client wants to subscribe on channel
and then Centrifuge checks response code returned from your web application (200 means allow to subscribe
on channel). This can be rather expensive for web application so using # in channel name
on channel, 403 - access denied, other error HTTP codes result in further attempts to ask your web app
about authorization after some timeout - see ``max_auth_attempts``). This can be rather expensive for web application so using # in channel name
or using hard-to-guess channel names to restrict access to channels could be a better choice.

**publish** - allow clients to publish messages in channels (your web application never receive those messages)
Expand Down

0 comments on commit 19a64d3

Please sign in to comment.