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

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


Branch: CURRENT, Version: 2.2.0, Package name: py36-daphne-2.2.0, 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] [lang/python36] [www/py-autobahn] [www/py-asgiref]

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

Master sites:

SHA1: ac8753155dd8810b96a68fa6902d4e77318d0c0d
RMD160: 4aad3f90f155a6d631c77cbfc8a84298e4400a27
Filesize: 19.265 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2018-01-10 09:36:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-daphne: updated to 1.4.2

1.4.2:
* Bugfix for WebSocket protocol when X-Forwarded-For is turned on.

1.4.1:
* Bugfix for a bad merge of HTTPFactory for X-Forwarded-Proto causing Daphne
  to not start.

1.4.0:
* The X-Forwarded-Proto header can now be used to pass along protocol from
  a reverse proxy.
* WebSocket headers are now correctly always passed as bytestrings.