Commit Graph

386 Commits

Author SHA1 Message Date
Alan Rominger
a3494215cf Require installing Twisted TLS extras. (#257) 2019-04-13 15:04:56 +02:00
d.s.e
0be1d3ef01 Added missing LICENSE to distribution (#250)
Signed-off-by: Guenther Meyer <d.s.e@sordidmusic.com>
2019-04-13 12:09:29 +02:00
Carlton Gibson
1759643f1f Releasing 2.3.0 2019-04-09 11:42:31 +02:00
Tom Christie
f52960e587 Support ASGI3 (#255) 2019-04-09 11:36:18 +02:00
Andrew Godwin
67cfa98b00 Fixing test dependencies to actual versions 2019-01-31 17:43:23 -08:00
Andrew Godwin
1b77e247f8 Releasing 2.2.5 2019-01-31 17:36:30 -08:00
Avinash Raj
9c574083ff Support for passing server name as cli argument (#231) 2018-12-28 13:42:39 +00:00
Florian Apolloner
cc344c6e34
Fix typo in changelog 2018-12-26 15:49:33 +01:00
Andrew Godwin
699f9dd4cb Set the websocket handshake from the connect time 2018-12-24 16:04:53 +00:00
Andrew Godwin
8515524c2b Releasing 2.2.4 2018-12-15 13:28:13 -08:00
Kyle Agronick
c4125c66d4 Only set disconnected time when it is not already set (#237)
Fixes a memory leak where the time would never expire, as well as an additional case where send is called on an already-cleaned-up instance.
2018-11-27 12:20:27 -08:00
Sylvain Prat
de15dcb4d1 Fixed #234: Don't listen on port 8000 when provided a file descriptor 2018-11-19 14:13:03 -08:00
Andrew Godwin
5722d4e7ea Releasing 2.2.3 2018-11-06 10:27:18 -08:00
László Károlyi
20f2bc93d4 Add command-line options for proxy headers 2018-10-26 12:34:15 -07:00
Imblc
e93643ff5a Fixed #229: Allow bytes headers only
Previously Daphne was too lax and would happily accept strings too.
2018-09-28 09:45:03 -07:00
Andrew Godwin
3e4aab95e2 Fix Travis release stage 2018-08-29 17:57:06 -07:00
Andrew Godwin
c5554cb817 Tidying up 2018-08-27 14:21:40 +10:00
Andrew Godwin
02a299e5a7 Fix isort in travis 2018-08-27 12:40:51 +10:00
Andrew Godwin
460bdf64db Only lint the daphne and tests directories 2018-08-27 12:31:54 +10:00
Andrew Godwin
0ed6294406 Implement Black code formatting 2018-08-27 12:29:57 +10:00
Michael
88792984e7 Run tests against Python 3.7 (#224) 2018-08-25 09:46:04 +10:00
Andrew Godwin
47358c7c79 Releasing 2.2.2 2018-08-16 21:34:50 -07:00
Andrew Godwin
5fe47cbbed
Add an issue template 2018-08-09 11:36:22 -07:00
Nick Sellen
2f94210321 Add x-forwarded-proto support (#219) 2018-07-24 13:25:03 -07:00
Anders Jensen
adb622d4f5 Removed deferToThread for ASGI instance constructor (#218)
The previous behaviour was from an older spec.
2018-07-22 09:54:42 -07:00
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