Skip to main content

Waitress WSGI server

Project description

latest version of waitress on PyPI https://github.com/Pylons/waitress/workflows/Build%20and%20test/badge.svg master Documentation Status IRC Freenode

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.0 (2021-03-07)

Friendly Reminder

This release still contains a variety of deprecation notices about defaults that can be set for a variety of options.

Please note that this is your last warning, and you should update your configuration if you do NOT want to use the new defaults.

See the arguments documentation page for all supported options, and pay attention to the warnings:

https://docs.pylonsproject.org/projects/waitress/en/stable/arguments.html

Without further ado, here’s a short list of great changes thanks to our contributors!

Bugfixes/Features

  • Fix a crash on startup when listening to multiple interfaces. See https://github.com/Pylons/waitress/pull/332

  • 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.

    See https://github.com/Pylons/waitress/pull/310

  • Drop Python 2.7 and 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

waitress-2.0.0.tar.gz (175.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

waitress-2.0.0-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file waitress-2.0.0.tar.gz.

File metadata

  • Download URL: waitress-2.0.0.tar.gz
  • Upload date:
  • Size: 175.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for waitress-2.0.0.tar.gz
Algorithm Hash digest
SHA256 69e1f242c7f80273490d3403c3976f3ac3b26e289856936d1f620ed48f321897
MD5 4db5160280b7bb1d168fe4108521cb45
BLAKE2b-256 4db9212595d3a011f2b508ab571872ffc300162c9e530b3043a50665b9ada2f0

See more details on using hashes here.

File details

Details for the file waitress-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: waitress-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for waitress-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29af5a53e9fb4e158f525367678b50053808ca6c21ba585754c77d790008c746
MD5 e6c3ebb9ebf4068eaa40961ccb868484
BLAKE2b-256 a8cfa9e9590023684dbf4e7861e261b0cfd6498a62396c748e661577ca720a29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page