./www/py-daphne, HTTP, HTTP2 and WebSocket protocol server for ASGI

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4.1, Package name: py37-daphne-2.4.1, Maintainer: adam

Daphne is a HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed
to power Django Channels.

It supports automatic negotiation of protocols; there's no need for URL
prefixing to determine WebSocket endpoints versus HTTP endpoints.


Required to run:
[net/py-twisted] [devel/py-setuptools] [www/py-autobahn] [www/py-asgiref] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

SHA1: 436681514273a70876db9b529686a8402859f412
RMD160: 13ee9cb503bc8735d64c3fd0d850b4fffa6fbf8b
Filesize: 21.528 KB

Version history: (Expand)


CVS history: (Expand)


   2020-02-01 21:39:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.4.1

2.4.1:
* Avoids Twisted using the default event loop, for compatibility with Django
  3.0's ``async_unsafe()`` decorator in threaded contexts, such as using the
  auto-reloader.
   2019-11-26 20:13:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.4.0

2.4.0:
* Adds CI testing against and support for Python 3.8.
* Adds support for ``raw_path`` in ASGI scope.
* Ensures an error response is sent to the client if the application sends
  malformed headers.
* Resolves an asyncio + multiprocessing problem when testing that would cause
  the test suite to fail/hang on macOS.
* Requires installing Twisted's TLS extras, via ``install_requires``.
* Adds missing LICENSE to distribution.
   2019-05-06 12:24:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.3.0

2.3.0:
* Added support for ASGI v3.
   2019-04-26 15:14:25 by Maya Rashish | Files touched by this commit (473)
Log message:
Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.
   2019-02-13 16:55:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.2.5

2.2.5:
* WebSocket handshakes are now affected by the websocket connect timeout, so
  you can limit them from the command line.
* Server name can now be set using --server-name
   2018-12-16 19:22:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.2.4

2.2.4:
* No longer listens on port 8000 when a file descriptor is provided with --fixed
* Fixed a memory leak with WebSockets
   2018-11-28 15:35:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.2.3

2.2.3:

* Enforce that response headers are only bytestrings, rather than allowing
  unicode strings and coercing them into bytes.

* New command-line options to set proxy header names: --proxy-headers-host and
  --proxy-headers-port.
   2018-08-19 12:53:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.2.2

2.2.2:
* X-Forwarded-Proto support is now present and enabled if you turn on the
  --proxy-headers flag
* ASGI applications are no longer instantiated in a thread (the ASGI spec
  was finalised to say all constructors must be non-blocking on the main thread)

2.2.1:
* Python 3.7 compatability is flagged and ensured by using Twisted 18.7 and
  above as a dependency.
* The send() awaitable in applications no longer blocks if the connection is
  closed.
* Fixed a race condition where applications would be cleaned up before they
  had even started.