summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Prune _build from docsBert JW Regeer2020-08-151-0/+1
| |
| * Next version: 2.0.0Bert JW Regeer2020-08-151-1/+1
| |
| * Blacken the codebaseBert JW Regeer2020-08-151-1/+1
| |
| * We haven't supported Py2.6 in a LONG timeBert JW Regeer2020-08-151-9/+8
| |
| * Cleanup waitress.compatBert JW Regeer2020-08-151-138/+25
| |
| * No cover wide exceptionBert JW Regeer2020-08-151-1/+1
| |
| * PY3 is only code pathBert JW Regeer2020-08-151-8/+2
| |
| * No longer rely on compatBert JW Regeer2020-08-152-4/+4
| |
| * Goodbye PY2Bert JW Regeer2020-08-152-4/+2
| |
| * Re-raise the original exceptionBert JW Regeer2020-08-151-2/+2
| |
| * yield from instead of loop + yieldBert JW Regeer2020-08-151-2/+1
| |
| * Cleanup string formattingBert JW Regeer2020-08-152-8/+7
| |
| * Remove coding lineBert JW Regeer2020-08-151-2/+0
| |
| * Bare super()Bert JW Regeer2020-08-155-7/+7
| |
| * socket.error/IOError -> OSErrorBert JW Regeer2020-08-1510-33/+33
| |
| * Remove object from class definitionBert JW Regeer2020-08-1520-67/+67
| |
| * Drop Python 2.7 support officiallyBert JW Regeer2020-08-156-19/+16
|/
* add a dedicated section for handling herokuMichael Merickel2020-07-141-15/+17
|
* Merge pull request #306 from cacao-accounting/py3-onlyMichael Merickel2020-07-141-0/+19
| | | Update usage.rst to include reference Heroku
* Prep 1.4.4v1.4.4Bert JW Regeer2020-06-012-3/+3
|
* Merge pull request #302 from Pylons/fix/thread_nameMichael Merickel2020-05-273-5/+13
|\ | | | | Fix: thread name
| * Update CHANGES.txtfix/thread_nameBert JW Regeer2020-05-271-0/+6
| |
| * Update thread name to contain thread numberBert JW Regeer2020-05-272-5/+7
|/ | | | This way loggers that use the thread name display useful information