Waitress WSGI server
Project description
Waitress is a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 3.6+. It is also known to run on PyPy (version 3.6 compatible) on UNIX. It supports HTTP/1.0 and HTTP/1.1.
For more information, see the “docs” directory of the Waitress package or visit https://docs.pylonsproject.org/projects/waitress/en/latest/
2.0.0b0 (2020-11-26)
Waitress no longer attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name.
Please see the documentation for server_name in https://docs.pylonsproject.org/projects/waitress/en/latest/arguments.html and see https://github.com/Pylons/waitress/pull/329
Allow tasks to notice if the client disconnected.
This inserts a callable waitress.client_disconnected into the environment that allows the task to check if the client disconnected while waiting for the response at strategic points in the execution and to cancel the operation.
It requires setting the new adjustment channel_request_lookahead to a value larger than 0, which continues to read requests from a channel even if a request is already being processed on that channel, up to the given count, since a client disconnect is detected by reading from a readable socket and receiving an empty result.
Drop Python 2.7, 3.5 support
The server now issues warning output when it there are enough open connections (controlled by “connection_limit”), that it is no longer accepting new connections. This situation was previously difficult to diagnose. See https://github.com/Pylons/waitress/pull/322
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for waitress-2.0.0b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 722b422526742ced73538d1061993ee661a5a11788320a4ed4581138ff08ba63 |
|
MD5 | b4ea28c32f0c8ea2101cd7255883ed6f |
|
BLAKE2b-256 | 08fb9a1e773c0b4bab76296b9f43c8921122bcd1ab3f0aa820e70b305e2a167c |