Commit Graph

264 Commits

Author SHA1 Message Date
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
Andrew Godwin
b9412f8e82 Send HTTP disconnect messages 2016-02-20 22:48:31 +00:00
Andrew Godwin
f1c2a3b9f7 Correctly send WebSocket headers 2016-02-20 22:48:17 +00:00
Andrew Godwin
ba2bbffd20 Improve HTTP cleanup and multi-response lock 2016-02-14 18:48:53 +00:00
Andrew Godwin
011ec23333 Go back to not passing just the server into protocols 2016-02-10 20:30:36 +00:00
Andrew Godwin
ccd8d18da8 Add logging hooks for things like runserver 2016-02-10 20:26:30 +00:00
Andrew Godwin
8c1b7f8a5a Allow signal handlers to be disabled to run in subthread 2016-02-10 19:23:52 +00:00
Andrew Godwin
95ef5c96e2 Fix type of empty query string 2016-02-10 18:49:46 +00:00
Andrew Godwin
e9fdd4f7b6 Releasing 0.8.2 2016-02-09 12:56:29 -08:00
Andrew Godwin
cd5371846f Update gitignore 2016-02-09 12:56:18 -08:00
Andrew Godwin
c9f3b57ea3 Actually send status text 2016-02-09 12:56:03 -08:00
Andrew Godwin
f90736413a Releasing 0.8.1 2016-02-09 12:53:21 -08:00
Andrew Godwin
227c3ea2c4 Python 3 fixes 2016-02-09 12:53:04 -08:00
Andrew Godwin
33ce841d29 Add warning for non-bytes HTTP status messages 2016-02-09 12:44:21 -08:00
Andrew Godwin
f76984ec69 Releasing version 0.8 2016-02-09 12:36:27 -08:00