summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add REMOTE_URI to the WSGI environ.Shane Hathaway2021-05-112-0/+7
| | | | CHANGES.txt entry included.
* Remove attempt to resolve IP address to server_nameBert JW Regeer2020-11-261-29/+0
| | | | Instead we just rely on the server_name passed in to the adjustment.
* If we are not on Windows use fork for multiprocessingspeedup-test-suiteBert JW Regeer2020-11-261-1/+7
| | | | | This speeds up the test suite significantly by reducing the overhead of spawning a new process.
* Merge pull request #310 from perfact/notify-client-closeBert JW Regeer2020-10-312-12/+151
|\ | | | | Notify client close
| * Allow tasks to notice if client disconnectedViktor Dick2020-10-252-12/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | 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, allowing 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.
* | warn when the server stops listening for connections because its in overflowMichael Merickel2020-10-221-0/+14
|/
* Blacken the added testBert JW Regeer2020-10-211-2/+4
|
* Add test to validate Request Headers too large fails with 431 statusBert JW Regeer2020-10-211-0/+14
|
* Black formatting updateBert JW Regeer2020-09-079-42/+111
|
* Fixup comment, this is a Windows issuepy3-onlyBert JW Regeer2020-08-161-1/+1
|
* Fixup deprecation warningsBert JW Regeer2020-08-162-8/+11
|
* Add ENOTCONN as a valid errorBert JW Regeer2020-08-161-1/+2
| | | | This may happen on macOS
* Reduce compat.py to minimum sizeBert JW Regeer2020-08-166-330/+292
|
* Add isort to the projectBert JW Regeer2020-08-1511-24/+25
|
* We haven't supported Py2.6 in a LONG timeBert JW Regeer2020-08-151-9/+8
|
* PY3 is only code pathBert JW Regeer2020-08-151-8/+2
|
* No longer rely on compatBert JW Regeer2020-08-151-1/+1
|
* Goodbye PY2Bert JW Regeer2020-08-151-2/+1
|
* yield from instead of loop + yieldBert JW Regeer2020-08-151-2/+1
|
* Remove coding lineBert JW Regeer2020-08-151-2/+0
|
* Bare super()Bert JW Regeer2020-08-153-5/+5
|
* socket.error/IOError -> OSErrorBert JW Regeer2020-08-155-13/+13
|
* Remove object from class definitionBert JW Regeer2020-08-1511-53/+53
|
* Update thread name to contain thread numberBert JW Regeer2020-05-271-2/+2
| | | | This way loggers that use the thread name display useful information
* Blacken filesBert JW Regeer2020-04-161-5/+12
|
* Move tests to top directoryBert JW Regeer2020-04-1629-0/+9471