Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DummyLogger did not accept multiple argsqueue-depth-warnings-int | Bert JW Regeer | 2019-04-02 | 1 | -2/+2 |
| | |||||
* | Instead of iterating over dictionary, use integer | Bert JW Regeer | 2019-04-02 | 1 | -11/+13 |
| | | | | | | This avoids looping over the dictionary in `add_task` for the extra complexity of keeping a simple counter of which threads are active or not activate. | ||||
* | get rid of JustTesting hookqueue-depth-warnings | Michael Merickel | 2019-04-02 | 2 | -17/+13 |
| | |||||
* | adjust queue depth warnings to emit when all threads are busy | Michael Merickel | 2019-04-02 | 4 | -44/+54 |
| | |||||
* | Merge pull request #241 from Pylons/fix-deadlock-on-disconnect | Bert JW Regeer | 2019-04-02 | 3 | -22/+26 |
|\ | | | | | fix a deadlock when the client disconnects while flushing data | ||||
| * | optimize tracking of pending outbuf bytesfix-deadlock-on-disconnect | Michael Merickel | 2019-04-02 | 2 | -19/+23 |
| | | |||||
| * | switch to an RLock as handle_close is called sometimes during _flush_some | Michael Merickel | 2019-04-02 | 1 | -10/+5 |
| | | |||||
| * | add changelog for #241 | Michael Merickel | 2019-04-02 | 1 | -0/+1 |
| | | |||||
| * | fix a deadlock when the client disconnects while flushing data | Michael Merickel | 2019-04-02 | 1 | -6/+10 |
|/ | |||||
* | back-sign the cla | Michael Merickel | 2019-03-29 | 1 | -0/+2 |
| | |||||
* | Merge pull request #240 from Pylons/error-task-disconnect | Bert JW Regeer | 2019-03-28 | 3 | -1/+32 |
|\ | | | | | handle client disconnections while rendering task error | ||||
| * | handle client disconnections while rendering error responseerror-task-disconnect | Michael Merickel | 2019-03-28 | 3 | -1/+32 |
|/ | |||||
* | Merge pull request #239 from Pylons/close-outbufs | Bert JW Regeer | 2019-03-28 | 2 | -7/+19 |
|\ | | | | | fix potential race condition when a socket closes unexpectedly | ||||
| * | fix potential race condition when a socket closes unexpectedlyclose-outbufs | Michael Merickel | 2019-03-27 | 2 | -7/+19 |
|/ | |||||
* | Merge pull request #238 from Pylons/close-app-iter-on-disconnect | Bert JW Regeer | 2019-03-27 | 4 | -19/+72 |
|\ | | | | | interrupt the app_iter if it tries to write to a closed socket | ||||
| * | remove threading commentclose-app-iter-on-disconnect | Michael Merickel | 2019-03-26 | 1 | -2/+0 |
| | | |||||
| * | close the buffer if a write fails before the channel takes over handling it | Michael Merickel | 2019-03-26 | 1 | -19/+19 |
| | | |||||
| * | interrupt the app_iter if it tries to write to a closed socket | Michael Merickel | 2019-03-26 | 3 | -0/+55 |
| | | |||||
* | | Merge pull request #237 from Pylons/update-tox | Bert JW Regeer | 2019-03-27 | 2 | -21/+15 |
|\ \ | |/ |/| | use tox extras key for testing and add pypy3 | ||||
| * | use tox extras key for testing and add pypy3update-tox | Michael Merickel | 2019-03-25 | 2 | -21/+15 |
|/ | |||||
* | Prep v1.2.1v1.2.1 | Bert JW Regeer | 2019-01-25 | 2 | -1/+15 |
| | |||||
* | Merge pull request #232 from Pylons/fix/remote_addr | Bert JW Regeer | 2019-01-25 | 2 | -8/+18 |
|\ | | | | | Fix: REMOTE_ADDR IPv6 representation | ||||
| * | Update tests to remote brackets from REMOTE_ADDR | Bert JW Regeer | 2019-01-25 | 1 | -4/+5 |
| | | |||||
| * | Strip brackets from REMOTE_ADDR for IPv6 | Bert JW Regeer | 2019-01-25 | 1 | -2/+7 |
| | | |||||
| * | Before adding brackets, verify it's not an IPv4 address | Bert JW Regeer | 2019-01-25 | 1 | -2/+6 |
|/ | |||||
* | Prep for 1.2.0v1.2.0 | Bert JW Regeer | 2019-01-14 | 2 | -1/+9 |
| | |||||
* | Prep for v1.2.0b3v1.2.0b3 | Bert JW Regeer | 2019-01-07 | 2 | -3/+3 |
| | |||||
* | Remove unnecessary strip() | Bert JW Regeer | 2019-01-07 | 1 | -2/+0 |
| | |||||
* | add changelog for #228 | Michael Merickel | 2019-01-04 | 1 | -2/+12 |
| | |||||
* | Merge pull request #228 from Pylons/proxy-updates | Bert JW Regeer | 2019-01-04 | 4 | -20/+36 |
|\ | | | | | fix a few proxy issues after testing in production | ||||
| * | minor docs tweak on reverse proxy setupproxy-updates | Michael Merickel | 2019-01-03 | 1 | -3/+3 |
| | | |||||
| * | error if trusted_proxy_count is set without trusted_proxy | Michael Merickel | 2019-01-03 | 2 | -5/+28 |
| | | |||||
| * | simplify conditional when clearing untrusted headers | Michael Merickel | 2019-01-03 | 1 | -1/+1 |
| | | |||||
| * | fix docs to not support comma-separated settings | Michael Merickel | 2019-01-03 | 1 | -1/+1 |
| | | | | | | | | fixes #225 | ||||
| * | allow clear_untrusted_proxy_headers when trusted_proxy is None | Michael Merickel | 2019-01-03 | 2 | -11/+4 |
|/ | | | | fixes #227 | ||||
* | fix pastedeploy url | Michael Merickel | 2019-01-03 | 1 | -1/+1 |
| | |||||
* | Prep v1.2.0b2v1.2.0b2 | Bert JW Regeer | 2019-01-02 | 1 | -1/+1 |
| | |||||
* | Add CHANGES.txt | Bert JW Regeer | 2019-01-02 | 1 | -0/+11 |
| | |||||
* | Only warn/fake bytes written if there is data | Bert JW Regeer | 2019-01-02 | 1 | -1/+1 |
| | |||||
* | Add link to documentation | Bert JW Regeer | 2018-12-31 | 1 | -0/+3 |
| | |||||
* | Formatting | Bert JW Regeer | 2018-12-31 | 1 | -1/+1 |
| | |||||
* | Prep 1.2.0b1v1.2.0b1 | Bert JW Regeer | 2018-12-31 | 1 | -1/+1 |
| | |||||
* | Move history from CHANGES.txt | Bert JW Regeer | 2018-12-31 | 2 | -95/+95 |
| | |||||
* | Add CHANGES.txt for #224 | Bert JW Regeer | 2018-12-31 | 1 | -2/+13 |
| | |||||
* | Merge pull request #224 from Estartu/master | Bert JW Regeer | 2018-12-12 | 1 | -1/+1 |
|\ | | | | | added any as valid value for the trusted_proxy adjustable | ||||
| * | changed any to * as any could potentially be a valid remote_peer | Gerhard Schmidt | 2018-12-13 | 1 | -1/+1 |
| | | |||||
| * | added any as valid value for the trusted_proxy adjustable | Gerhard Schmidt | 2018-12-12 | 1 | -1/+1 |
|/ | | | | | | | | | | | Backgound is when waitress is running inside a container, any request is originates from the gateway of the container network, not from the outside ip. The container network changes every time the container is restarted to a random new network number. So setting one IP as trusted_proxy isn't possible but still needed as most of the time an reverse proxy is between the client an the container. So if it's ensured that only requests from the reverse proxy can reach the container, trusting any host is not a problem. | ||||
* | Merge pull request #209 from Pylons/bugfix/socket-server-name-port | Bert JW Regeer | 2018-12-02 | 9 | -205/+1336 |
|\ | | | | | Use Forwarded/X-Forwarded-{For,Host,By,Port,Proto} to fixup WSGI environ | ||||
| * | clear untrusted headers if trusted_proxy is set but does not match | Michael Merickel | 2018-12-02 | 2 | -109/+128 |
| | | |||||
| * | fix docs formatting | Michael Merickel | 2018-12-02 | 3 | -82/+120 |
| | |