Commit Graph

428 Commits

Author SHA1 Message Date
Andrew Godwin
13bac47d70 Don't decode + in URLs 2016-04-27 09:50:39 +01:00
Andrew Godwin
9fd113dca5 Releasing 0.11.2 2016-04-27 09:45:47 +01:00
Andrew Godwin
8581192cad Update path encoding for WebSockets 2016-04-27 09:44:46 +01:00
Andrew Godwin
47a11fdf46 Releasing 0.11.1 2016-04-26 13:50:02 +01:00
Andrew Godwin
8848f19079 Fix HTTP test 2016-04-26 13:43:14 +01:00
Andrew Godwin
e9d61fc1c8 Fix up path encoding for WS too 2016-04-26 13:37:50 +01:00
Andrew Godwin
1fcb76e956 Version 0.11.0 2016-04-26 13:24:26 +01:00
Andrew Godwin
bce5cdf13d Send paths and query strings pre-decoded as per updated ASGI spec 2016-04-26 13:24:26 +01:00
Andrew Godwin
3d069c0427 Merge pull request #7 from fcurella/ws_protocols
add support for websocket protocols
2016-04-07 13:12:05 -07:00
Flavio Curella
caee853da7 add --ws-protocols to cli arguments 2016-04-07 10:15:18 -05:00
Flavio Curella
1d1b397aa2 add support for websocket protocols 2016-04-07 10:03:05 -05:00
Andrew Godwin
7b13995dee Releasing 0.10.3 2016-04-05 08:12:50 -07:00
Andrew Godwin
45b121572c Hard error on invalid websocket reply messages 2016-04-05 08:04:10 -07:00
Andrew Godwin
6ea3dd803e Respect access_log=- 2016-04-03 21:10:23 -07:00
Andrew Godwin
3c726e0d51 Releasing 0.10.2 2016-04-03 21:05:55 -07:00
Andrew Godwin
768b852eec Add length to access log 2016-04-03 21:02:35 -07:00
Andrew Godwin
074f73acb4 Don't fail timeouts when slow request being processed 2016-04-03 20:56:48 -07:00
Andrew Godwin
7c330e71fa Add basic access logging (enabled by default to stdout) 2016-04-04 00:29:05 +02:00
Andrew Godwin
e0e27ff9eb Releasing 0.10.1 2016-03-29 03:31:32 -07:00
Andrew Godwin
ca35d6c18f Add WebSocket keepalive ping support with configurable interval 2016-03-29 03:28:05 -07:00
Andrew Godwin
5cb28d1e10 Allow binding to UNIX sockets instead of TCP address/port. 2016-03-28 03:33:21 -07:00
Andrew Godwin
037f129117 Add timeout to WebSockets as per ASGI spec 2016-03-28 03:28:15 -07:00
Andrew Godwin
813ef1c27c Daphne is a universal wheel 2016-03-27 14:14:46 -07:00
Andrew Godwin
a5946922f5 Releasing version 0.10 2016-03-21 16:45:24 -07:00
Andrew Godwin
e7b323893f Change to new style of single-reader channel 2016-03-21 16:40:29 -07:00
Andrew Godwin
25626fa3bf Update daphne to new asgi spec 2016-03-20 12:29:04 -03:00
Andrew Godwin
89ebad14f9 Correctly allow for more than one Set-Cookie header 2016-03-16 09:49:29 -03:00
Andrew Godwin
ddcac026af Merge pull request #3 from ArtikUA/master
Update README
2016-03-15 18:35:10 -03:00
Artem Khomenko
a0b2e2b72c Update README
For run Daphe server you need write ':' instead of '.' to use your channel_layer from asgi.py
2016-03-15 23:12:58 +02:00
Andrew Godwin
ef22ac9528 Fix test, and remove custom status text feature 2016-03-11 10:29:17 -08:00
Andrew Godwin
a6e11d55a4 Update to reflect new ASGI spec. 2016-03-11 10:21:23 -08:00
Andrew Godwin
f9a6150aed Releasing 0.9.3 2016-03-08 10:16:50 -08:00
Andrew Godwin
1fb01f59b8 Merge pull request #2 from erikash/fix-urlencode
urlencode now handles parse_qs encoding correctly.
2016-03-08 10:15:25 -08:00
Andrew Godwin
6a7de0b6fd Releasing 0.9.2 2016-03-02 16:59:37 -08:00
Andrew Godwin
a5cf4c0961 Update error page CSS 2016-03-02 16:58:13 -08:00
Andrew Godwin
0ad7f1c2a2 Add timeout 503 responses with configurable delay. 2016-03-02 11:25:34 -08:00
Andrew Godwin
d445844061 Releasing 0.9.1 2016-03-01 00:09:33 -08:00
erikash
238e75cbd3 urlencode now handles parse_qs encoding correctly.
The autobahn websocket protocol.py line 2487 uses parse_qs(query) which always returns a list as a return value.
For example:
urllib.parse.parse_qs('room=test') returns {'room': ['test']}. 
In order to parse it correctly later, doseq for urlencode must be set to True.
2016-02-28 16:36:19 +02:00
Andrew Godwin
7b83471e6c Update backend_reader docstring 2016-02-24 08:04:04 -08:00
Andrew Godwin
6f47ba75f9 Remove unused import 2016-02-24 08:01:49 -08:00
Andrew Godwin
d25bea1543 Send order keys with WebSocket packets as per ASGI spec update 2016-02-24 00:41:31 +00:00
Andrew Godwin
eaa762c9e3 Tweak idle delays for better performance 2016-02-23 22:17:24 +00:00
Andrew Godwin
fff69f64a7 Logging tweaks 2016-02-23 22:14:50 +00:00
Andrew Godwin
a683fecfa6 Fix non-websocket connection header parsing 2016-02-23 21:59:33 +00:00
Andrew Godwin
cacce0493d Make WebSockt upgrade header case insensitive 2016-02-23 21:25:26 +00:00
Andrew Godwin
07801e9ae8 Make daphne serving thread idle better 2016-02-23 21:23:55 +00:00
Andrew Godwin
b5400d0be5 Update setup a little 2016-02-21 13:17:17 +00:00
Andrew Godwin
ee20b26921 Version 0.9 2016-02-21 13:06:55 +00:00
Andrew Godwin
aa6c0a73e6 Don't use call in thread because it blocks the main serving thread 2016-02-21 12:31:48 +00:00
Andrew Godwin
1709522162 Fix logging and log action around chunked HTTP responses 2016-02-20 23:33:50 +00:00