Commit Graph

284 Commits

Author SHA1 Message Date
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
Andrew Godwin
44c1d0905f Update version and README 2017-11-29 00:12:14 -08:00
Andrew Godwin
3358767814 Increase hypothesis deadlines for slower systems/Travis 2017-11-29 00:03:29 -08:00
Andrew Godwin
29db466c48 Oldest supported twisted version is 17.5 now. 2017-11-28 23:57:44 -08:00
Andrew Godwin
b55fc382e8 Tox is no longer needed for tests. 2017-11-28 23:49:51 -08:00
Andrew Godwin
b04e6a5a64 Ignore eggs from flake8 2017-11-28 23:47:11 -08:00
Andrew Godwin
7f5fe7370f Add flake8 linting 2017-11-28 23:42:35 -08:00
Andrew Godwin
08e7841718 Fix import ordering 2017-11-28 18:03:29 -08:00
Andrew Godwin
03aa8548fe Stop using tox and start linting 2017-11-28 17:59:59 -08:00
Andrew Godwin
a57ef2fa54 Detect listening failures 2017-11-28 17:38:22 -08:00
Andrew Godwin
20ff8fec28 Match to the new ASGI-HTTP spec. 2017-11-28 17:28:35 -08:00
Andrew Godwin
7fb3e9a167 Clean up comments, names and imports 2017-11-27 00:02:37 -08:00
Andrew Godwin
567c27504d Add websocket tests to make sure everything important is covered. 2017-11-27 00:00:34 -08:00
Andrew Godwin
1ca1c67032 Add HTTP response test suite 2017-11-26 00:06:23 -08:00
Andrew Godwin
e0e60e4117 Full HTTP request test suite 2017-11-25 23:19:27 -08:00
Andrew Godwin
b3115e8dcf Start fixing travis config 2017-11-25 18:35:12 -08:00
Andrew Godwin
b72349d2c1 HTTP protocol tests 2017-11-25 18:23:54 -08:00
Andrew Godwin
0626f39214 Unify all strings to double quotes 2017-11-25 13:41:38 -08:00
Andrew Godwin
22aa56e196 Start on fixing tests 2017-11-25 13:39:46 -08:00