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

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


Branch: CURRENT, Version: 3.0.1, Package name: py38-daphne-3.0.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: 53a524990b355aaf11a5be2da95875a0385e340e
RMD160: 867d65837000ab48aef2848d9e56af4602c33861
Filesize: 24.483 KB

Version history: (Expand)


CVS history: (Expand)


   2021-03-01 10:00:09 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-daphne: updated to 3.0.1

3.0.1 (2020-11-12)
* Fixed a bug where ``asyncio.CancelledError`` was not correctly handled on
  Python 3.8+, resulting in incorrect protocol application cleanup.

3.0.0 (2020-10-28)
* Updates internals to use ASGI v3 throughout. ``asgiref.compatibility`` is
  used for older applications.
* Consequently, the `--asgi-protocol` command-line option is removed.
* HTTP request bodies are now read, and passed to the application, in chunks.
* Added support for Python 3.9.
* Dropped support for Python 3.5.
   2020-04-16 09:42:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.5.0

2.5.0:
* Fixes compatability for twisted when running Python 3.8+ on Windows, by
  setting ``asyncio.WindowsSelectorEventLoopPolicy`` as the event loop policy
  in this case.
* The internal ``daphne.testing.TestApplication`` now requires an addition
  ``lock`` argument to ``__init__()``. This is expected to be an instance of
  ``multiprocessing.Lock``.
   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