László Károlyi
9806d21280
Isort + flake8 fix
2018-05-10 17:34:13 +02:00
László Károlyi
4adcf9080e
Fixing for quote-nazism
2018-05-10 17:32:01 +02:00
László Károlyi
31bb1bcc23
Fixing non-bytes headers, adding proxyhost+proxyport custom headers
...
The headers on my environment aren't bytes, rather str-s, and so
getting the host and port from those will result None being passed
as a result.
Also, since X-Forwarded-For is not to be trusted, and custom nginx
configurations can pass a `X-Real-IP` header, add two extra command
line parameters to be able to parse custom passed remote IP headers.
2018-05-10 17:22:27 +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
Andrew Godwin
bc9400322d
Update readme to include 1.x note
2018-02-01 20:32:19 -08:00
Andrew Godwin
b287a74236
Make test port selection less flaky
2018-02-01 20:32:08 -08:00
Andrew Godwin
9460cc166f
Allow listening on port 0 and add hooks to get that port out on start
...
Used in the ChannelsLiveServerTestCase
2018-02-01 20:12:56 -08:00
Andrew Godwin
691151b097
Releasing 1.4.2
2018-01-05 00:41:58 -08:00
Andrew Godwin
f335232373
Fix poorly captured second argument on Python 2
2018-01-05 00:39:46 -08:00
Andrew Godwin
0c633fa968
Releasing 1.4.1
2018-01-02 13:31:41 -08:00
Andrew Godwin
3fcfe45e84
Add missing proto header argument to HTTPFactory
2018-01-02 13:29:03 -08:00
Andrew Godwin
13e7804187
Releasing 1.4.0
2018-01-02 11:39:58 -08:00
Andrew Godwin
26fa870540
Move to "body" everywhere in HTTP messages
2017-11-29 21:27:24 -08:00