summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix on Windows: OSError is not subscriptablebugfix/winerror-windowsBert JW Regeer2022-01-171-1/+1
| | | | | | | | | | | When Waitress fails to launch on Windows due to an issue with the trigger socket not being ready for connections, we attempt to loop. In the past this was done by subscripting the OSError and checking to see if it matched errno.WSAEADDRINUSE, this is no longer possible in newer verisons of Python. This is a quick bugfix for a rare case which should no longer happen on Windows.
* Merge pull request #352 from franciozzy/runner-fix-helpSteve Piercy2021-09-081-1/+1
|\ | | | | runner: Fix alignment of --url-prefix
| * runner: Fix alignment of --url-prefixFelipe Franciosi2021-09-081-1/+1
|/ | | | | | The help message contained a misaligned option. This fixes it. Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
* Merge pull request #344 from hathawsh/add-remote-uriBert JW Regeer2021-05-156-2/+22
|\ | | | | Add REQUEST_URI
| * blackShane Hathaway2021-05-111-2/+2
| |
| * Correct REQUEST_URI in CHANGES.txtShane Hathaway2021-05-111-2/+2
| |
| * Add REMOTE_URI to the WSGI environ.Shane Hathaway2021-05-115-0/+20
|/ | | | CHANGES.txt entry included.
* Prep 2.0.0v2.0.0Bert JW Regeer2021-03-072-7/+24
|
* Prep 2.0.0b1v2.0.0b1Bert JW Regeer2020-11-292-3/+3
|
* Merge pull request #332 from Pylons/fix-default-loggingBert JW Regeer2020-11-293-2/+19
|\ | | | | fix a crash in the MultiSocketServer startup and re-enable startup messages
| * add changelog for #332Michael Merickel2020-11-291-0/+6
| |
| * fix a crash in the MultiSocketServer startup and re-enable startup messagesMichael Merickel2020-11-292-2/+13
|/
* Prep 2.0.0b0v2.0.0b0Bert JW Regeer2020-11-262-3/+3
|
* Move CHANGES to HISTORYBert JW Regeer2020-11-262-167/+167
|
* Merge pull request #329 from Pylons/cleanup/server-nameBert JW Regeer2020-11-265-83/+41
|\ | | | | Cleanup: Server Name deduction logic
| * Add changelog entry for server_nameBert JW Regeer2020-11-261-3/+12
| |
| * Add documentation for server_nameBert JW Regeer2020-11-261-0/+17
| |
| * Remove attempt to resolve IP address to server_nameBert JW Regeer2020-11-262-80/+6
| | | | | | | | Instead we just rely on the server_name passed in to the adjustment.
| * Add new adjustment named server_nameBert JW Regeer2020-11-261-0/+6
|/
* Missed dropping Py27 in docsBert JW Regeer2020-11-261-2/+2
|
* Merge pull request #328 from Pylons/drop-py35-add-py39Bert JW Regeer2020-11-265-11/+10
|\ | | | | Drop Python 3.5 support from Waitress add Py3.9
| * Drop Python 3.5 support from Waitress add Py3.9Bert JW Regeer2020-11-265-11/+10
|/
* Merge pull request #327 from Pylons/speedup-test-suiteMichael Merickel2020-11-261-1/+7
|\ | | | | If we are not on Windows use fork for multiprocessing
| * 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-317-133/+340
|\ | | | | Notify client close
| * Allow tasks to notice if client disconnectedViktor Dick2020-10-257-133/+340
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #322 from Pylons/connection-overflow-warningBert JW Regeer2020-10-303-1/+43
|\ \ | |/ |/| warn when the server stops listening for connections because it's in overflow
| * blackifyconnection-overflow-warningMichael Merickel2020-10-221-4/+4
| |
| * only change state while acceptingMichael Merickel2020-10-221-19/+21
| |
| * add changelogMichael Merickel2020-10-221-0/+6
| |
| * warn when the server stops listening for connections because its in overflowMichael Merickel2020-10-222-1/+35
|/
* 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
|
* Merge pull request #320 from sr-gi/multisocketserver-logMichael Merickel2020-10-161-1/+1
|\ | | | | Updates MultiSocketServer to use log_info instead of print
| * Updates MultiSocketServer to use log_info instead of printSergi Delgado Segura2020-10-161-1/+1
|/
* Merge pull request #315 from lstolcman/masterBert JW Regeer2020-09-271-1/+1
|\ | | | | Use log_info instead of print in print_listen
| * Use log_info instead of print in print_listenƁukasz Stolcman2020-09-221-1/+1
|/
* Fix syntax for inline literalSteve Piercy2020-09-151-1/+1
|
* Black formatting updateBert JW Regeer2020-09-0714-67/+132
|
* Merge pull request #314 from theandrew168/fix-api-backlog-typoMichael Merickel2020-09-031-1/+1
|\ | | | | Fix typo for default TCP backlog in API docs
| * Fix typo for default TCP backlog in API docstheandrew1682020-09-021-1/+1
|/
* Merge pull request #294 from Pylons/py3-onlyBert JW Regeer2020-08-1640-771/+630
|\ | | | | Remove Python 2 support
| * Fixup comment, this is a Windows issuepy3-onlyBert JW Regeer2020-08-161-1/+1
| |
| * Stop marking socket as readable when flushing dataBert JW Regeer2020-08-161-3/+42
| | | | | | | | | | | | | | | | | | We no longer mark the socket as readable if we are attempting to flush whatever remaining data we have and are trying to shut down the channel. Whatever data is ready to be read, it's no longer our concern. We don't want to spend time reading data we don't care about.
| * Remove useless try/finally wrapperBert JW Regeer2020-08-161-10/+7
| | | | | | | | | | This looks to be an artifact that was left behind from the original codebase Waitress was forked from and no longer servces a purpose.
| * 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
| * Remove universal wheelBert JW Regeer2020-08-161-4/+1
| |
| * Reduce compat.py to minimum sizeBert JW Regeer2020-08-1611-390/+337
| |
| * Add isort to the projectBert JW Regeer2020-08-1523-78/+81
| |