Commit Graph

346 Commits

Author SHA1 Message Date
László Károlyi
58a8db330e
Blacking code 2018-10-24 20:09:09 +02:00
László Károlyi
b650c61324
Merge branch 'master' into proxyparameters 2018-10-24 20:04:15 +02:00
László Károlyi
a32c884196
Posting tests 2018-10-24 19:56:49 +02:00
László Károlyi
72f82b9e1a
Adding parameter pulling functions 2018-10-24 19:56:17 +02:00
Imblc
9dd6ea6bad
Fixed #229: Allow bytes headers only
Previously Daphne was too lax and would happily accept strings too.
2018-10-24 19:55:55 +02:00
Andrew Godwin
e32594ca47
Fix Travis release stage 2018-10-24 19:55:55 +02:00
Andrew Godwin
7890cd67fb
Tidying up 2018-10-24 19:55:55 +02:00
Andrew Godwin
525290f5cb
Fix isort in travis 2018-10-24 19:55:54 +02:00
Andrew Godwin
c3caef6cd2
Only lint the daphne and tests directories 2018-10-24 19:55:54 +02:00
Andrew Godwin
44fdca2d13
Implement Black code formatting 2018-10-24 19:55:54 +02:00
Michael
135c844ce8
Run tests against Python 3.7 (#224) 2018-10-24 19:54:39 +02:00
Andrew Godwin
f2e368efe3
Releasing 2.2.2 2018-10-24 19:54:38 +02:00
Andrew Godwin
34b632febc
Add an issue template 2018-10-24 19:54:38 +02:00
Nick Sellen
ab95bf7d11
Add x-forwarded-proto support (#219) 2018-10-24 19:54:38 +02:00
Anders Jensen
ff8e683440
Removed deferToThread for ASGI instance constructor (#218)
The previous behaviour was from an older spec.
2018-10-24 19:53:59 +02:00
Andrew Godwin
6ad52f0aaf
Releasing 2.2.1 2018-10-24 19:53:58 +02:00
Brian May
f053af4958
Don't crash if connection closed before application started (#213)
Fixes #205.
2018-10-24 19:53:58 +02:00
Andrew Godwin
9a8d9f1ae1
send() should not block once connection is closed 2018-10-24 19:53:58 +02:00
Andrew Godwin
6110e44d23
Releasing 2.2.0 2018-10-24 19:53:58 +02:00
Andrew Godwin
0d71519a66
Don't try and read requests that are closed already (#205) 2018-10-24 19:53:57 +02:00
Andrew Godwin
5cd6a572f3
Remove HTTP timeout by default, and mid-response error for it 2018-10-24 19:53:57 +02: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
László Károlyi
48db541d54
Posting tests 2018-05-27 14:17:52 +02:00
László Károlyi
15cbc69e36
Adding parameter pulling functions 2018-05-27 14:08:55 +02:00
László Károlyi
5fad763ae9
Adding proxyparameters 2018-05-27 14:03:11 +02: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