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

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


Branch: CURRENT, Version: 2.2.2, Package name: py37-daphne-2.2.2, 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] [lang/python37]

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

Master sites:

SHA1: 91ab4b11355f5eeeb490a86d30d9da6a164195c5
RMD160: be0283f6f3e7009a19412201fa8b235318b6263b
Filesize: 19.583 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2018-06-14 09:55:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.2.0

2.2.0:

* HTTP timeouts have been removed by default, as they were only needed
  with ASGI/Channels 1. You can re-enable them with the --http-timeout
  argument to Daphne.

* Occasional errors on application timeout for non-fully-opened sockets
  and for trying to read closed requests under high load are fixed.

* X-Forwarded-For headers are now correctly decoded in all environments
  and no longer have unicode matching issues.
   2018-04-30 09:36:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.1.1

2.1.1:
* ASGI application constructors are now run in a threadpool as they might
  contain blocking synchronous code.
   2018-03-26 02:30:50 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Simplify
   2018-03-24 18:07:06 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Needs py-test-runner.
   2018-03-14 09:00:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 2.1.0

2.1.0:
* Removed subprotocol support from server, as it never really worked. Subprotocols
  can instead be negotiated by ASGI applications now.
* Non-ASCII query strings now raise a 400 Bad Request error rather than silently
  breaking the logger
   2018-02-22 09:54:28 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-daphne: updated to 2.0.4

2.0.4:
* Ping timeouts no longer reset on outgoing data, only incoming data
* No more errors when connections close prematurely
   2018-02-14 15:21:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-daphne: updated to 2.0.3

2.0.3:
* Unix socket listening no longer errors during startup (introduced in 2.0.2)
* ASGI Applications are now not immediately killed on disconnection but instead
  given --application-close-timeout seconds to exit (defaults to 10)

2.0.2:
* WebSockets are no longer closed after the duration of http_timeout

2.0.1:
* Updated logging to correctly route exceptions through the main Daphne logger

2.0.0:
* Major rewrite to the new async-based ASGI specification and to support
  Channels 2. Not backwards compatible.