Commit Graph

311 Commits

Author SHA1 Message Date
Andrew Godwin
e16b58bcb5 Releasing 2.2.1 2018-07-22 09:47:14 -07:00
Brian May
d5611bccb6 Don't crash if connection closed before application started (#213)
Fixes #205.
2018-07-05 18:26:34 -07:00
Andrew Godwin
6dcc0d52b3 send() should not block once connection is closed 2018-06-24 16:33:54 -07:00
Andrew Godwin
bb54f41736 Releasing 2.2.0 2018-06-13 11:55:20 -07:00
Andrew Godwin
ece52b8e79 Don't try and read requests that are closed already (#205) 2018-06-02 06:45:02 +01:00
Andrew Godwin
8c031239ad Remove HTTP timeout by default, and mid-response error for it 2018-05-30 09:52:47 -07:00
Andrew Godwin
84466d4ae4 Fixed #207: Do header transforms for WebSocket XFF right 2018-05-26 12:16:07 +02:00
Andrew Godwin
9f7e19cf2d Use clean headers to fix decoding issues 2018-05-25 15:11:09 +02:00
Andrew Godwin
fa3c764433 Fixed #206: Check applications exist before timing them out 2018-05-25 12:33:46 +02:00
Andrew Godwin
c4360fd70a Releasing 2.1.2 2018-05-24 14:15:56 +02:00
Andrew Godwin
f046a35dbc Only validate header names (values are already done) 2018-05-24 12:43:18 +02:00
Andrew Godwin
b3c097aabd Enforce that header names and values are bytes 2018-05-24 12:31:18 +02:00
Andrew Godwin
dd2c8b2a0f Don't try to send disconnect when we never made an app instance 2018-05-03 09:47:12 -07:00
Andrew Godwin
097f3ba8e8 Releasing 2.1.1 2018-04-18 10:59:25 -07:00
Andrew Godwin
a7ccfab495 Run server constructor in a threadpool as it's synchronous 2018-04-18 10:57:58 -07:00
Andrew Godwin
cc6af549a6 Releasing 2.1.0 2018-03-05 20:43:48 -08:00
Andrew Godwin
446fc69408 Fixed #150: Correctly handle bad querystrings 2018-03-04 09:48:33 -08:00
Andrew Godwin
388bbc5c24 Accept ws_protocols for now but ignore the contents 2018-02-24 10:47:09 -08:00
Andrew Godwin
4eb6cab9aa Fix #180: asgiref is not a required dependency 2018-02-24 10:45:04 -08:00
Andrew Godwin
f877d54942 Remove subprotocol support (handled by apps now) 2018-02-23 16:53:25 -08:00
Andrew Godwin
9b3e2b4b28 Releasing 2.0.4 2018-02-21 22:04:26 -08:00
Andrew Godwin
0a2c6c2ff2 Fix #175: Check finished as well as channel 2018-02-21 09:50:59 -08:00
Andrew Godwin
853771ec95 Move testing to use multiprocessing for better reliability
We can also hopefully reuse this for LiveServerTestCase
2018-02-19 20:58:47 -08:00
Andrew Godwin
173617ad3b Fixed #172: Outgoing frames do not reset ping clock (incoming does) 2018-02-16 09:56:40 -08:00
Andrew Godwin
de0811f13e Fixed #169: Don't try to send messages to a closed client 2018-02-14 14:52:49 -08:00
Andrew Godwin
f53eb0dda6 Don't put commas in the header hypothesis tests 2018-02-07 14:15:28 -08:00
Andrew Godwin
12437e2677 Releasing 2.0.3 2018-02-07 12:11:57 -08:00
Andrew Godwin
13511d2ca6 Fixed #162: Test suite now uses port 0 binding 2018-02-07 12:03:54 -08:00
Andrew Godwin
678a97ec7f Fixed #152: Give ASGI apps a grace period after close before killing
Also adds a warning when they do not correctly exit before killing.
2018-02-07 12:02:30 -08:00
Jonas Lidén
d46429247f Unix socket fix (#161)
Fix error on listeners when passing a unix socket
2018-02-06 00:04:44 -08:00
Andrew Godwin
3bffe981f6 Releasing 2.0.2 2018-02-04 12:22:13 -08:00
Andrew Godwin
826a8ce0de Better Twisted reactor detection 2018-02-04 12:18:44 -08:00
Andrew Godwin
0f8f731b2c Rename Travis CI stage to "Release" 2018-02-04 12:09:26 -08:00
Andrew Godwin
105e1d5436 Don't apply HTTP timeout to WebSocket connections! 2018-02-04 12:08:57 -08:00
Andrew Godwin
6eeb280e1b Put a last line for the warning traceback that's not the string 2018-02-03 23:38:17 -08:00
Andrew Godwin
bb4d46f09c Fix string concatenation (duh) 2018-02-03 23:29:37 -08:00
Andrew Godwin
7949b244b8 Try to uninstall previous reactors if they're found 2018-02-03 22:57:15 -08:00
Andrew Godwin
3b5721c699 Move deploy to second stage 2018-02-03 22:56:24 -08:00
Andrew Godwin
06a3727f8b Releasing 2.0.1 2018-02-03 12:35:42 -08:00
Andrew Godwin
981b6988db Add auto-release for Travis 2018-02-03 12:31:12 -08:00
Andrew Godwin
3b2fb6f78e Use loggers rather then the logging module directly
Refs django/channels#846
2018-02-02 20:08:33 -08:00
Artem Malyshev
990656a36d Correct project name in the README. 2018-02-02 14:20:30 +03:00
Andrew Godwin
f18078e53d Remove Python 2.7 classifiers 2018-02-01 23:20:39 -08:00
Andrew Godwin
66d20c2563 Releasing 2.0.0 2018-02-01 21:27:50 -08:00
Andrew Godwin
eb7468059d Make Daphne process tests try harder. 2018-02-01 21:22:15 -08:00
Andrew Godwin
0572b1dbcd Further improve flaky header tests 2018-02-01 21:18:13 -08:00
Andrew Godwin
db68c43de1 Fix imports and use of six 2018-02-01 21:02:37 -08:00
Andrew Godwin
51c2de3f8c Fix header matching in websocket tests 2018-02-01 21:02:27 -08:00
Andrew Godwin
228142cab5 Merge branch 'master' into 2.0 2018-02-01 20:35:43 -08:00
Andrew Godwin
e10b72f33f Use plan REST not Sphinx REST in the README 2018-02-01 20:33:55 -08:00