summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #401 from pganguli/patch-1HEADmainMichael Merickel2023-04-061-1/+1
|\ | | | | docs: Fix typo in usage.rst
| * Fix typo in usage.rstPrateek Ganguli2023-02-091-1/+1
|/
* Update CHANGES.txtBert JW Regeer2023-01-221-0/+7
|
* Merge pull request #399 from ↵Bert JW Regeer2023-01-221-1/+5
|\ | | | | | | | | Pylons/bugfix/move-socket-options-setting-into-try-except Setting socket options may fail if remote has already disappeared
| * Setting socket options may fail if remote has already disappearedBert JW Regeer2023-01-221-1/+5
| | | | | | | | | | | | | | | | | | | | By the time we come around to accepting a connection on macOS, the remote may have already disappeared, in which case setting options on the socket may fail with an error. Instead of failing and shutting down the server we want to continue, so move the setting of socket options into the try/except block and log the error instead.
* | Merge pull request #398 from Pylons/replace-pkg_resources-importlib-metadataBert JW Regeer2023-01-222-2/+7
|\ \ | |/ |/| Replace pkg_resources use with importlib.metadata
| * Replace pkg_resources use with importlib.metadataBert JW Regeer2023-01-222-2/+7
|/
* Merge pull request #397 from Pylons/bugfix/test-gardenpathBert JW Regeer2023-01-221-1/+4
|\ | | | | Fix testing of strerror to use actual valid errno/strerror to compare
| * Fix testing of strerror to use actual valid errno/strerror to compareBert JW Regeer2023-01-221-1/+4
|/ | | | Closes #395
* Replace pytest-cover with pytest-covBert JW Regeer2023-01-221-1/+1
| | | | Closes #394
* Merge pull request #382 from AkhilmsAchu/masterBert JW Regeer2023-01-222-3/+5
|\ | | | | Make use of ident while showing server error (generated by waitress)
| * Update src/waitress/utilities.pyAkhil MS2022-12-221-1/+1
| | | | | | Co-authored-by: Bert JW Regeer <xistence@0x58.com>
| * Update src/waitress/utilities.pyAkhil MS2022-12-221-1/+2
| | | | | | Co-authored-by: Bert JW Regeer <xistence@0x58.com>
| * Make use of ident while showing server error (generated by waitress)Akhil M S2022-07-022-3/+4
| | | | | | | | | | | | this will help users to hide the server details from waitress generated error response with the help of ident value. Some organization don't want to expose there server details to user, since it will help the attackers perform attacks based on the known vulnerability of the server. So instead of showing generated by waitress, we can show a generic text.
* | Merge pull request #393 from Pylons/dependabot/github_actions/actions/checkout-3Bert JW Regeer2022-12-251-4/+4
|\ \ | | | | | | Bump actions/checkout from 2 to 3
| * | Bump actions/checkout from 2 to 3dependabot[bot]2022-12-241-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #392 from ↵Bert JW Regeer2022-12-241-4/+4
|\ \ | | | | | | | | | | | | Pylons/dependabot/github_actions/actions/setup-python-4 Bump actions/setup-python from 2 to 4
| * | Bump actions/setup-python from 2 to 4dependabot[bot]2022-12-241-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* | Allow dependabot to open PR's to update Github actionsBert JW Regeer2022-12-241-0/+10
| |
* | Merge pull request #391 from Pylons/bugfix/tox-allowlistMichael Merickel2022-12-241-1/+1
|\ \ | | | | | | Update to use more inclusive language in tox.ini
| * | Update to use more inclusive language in tox.iniBert JW Regeer2022-12-241-1/+1
|/ /
* | Merge pull request #384 from sobolevn/patch-1Bert JW Regeer2022-11-161-6/+2
|\ \ | | | | | | Remove `__nonzero__` methods
| * | Remove `__nonzero__` methodsNikita Sobolev2022-07-301-6/+2
| |/
* | Merge pull request #390 from jvanasco/mainBert JW Regeer2022-11-168-11/+15
|\ \ | | | | | | rename "master" to "main"
| * | Update RELEASING.txtJonathan Vanasco2022-11-161-1/+1
| | | | | | | | | Co-authored-by: Steve Piercy <web@stevepiercy.com>
| * | rename "master" to "main"jonathan vanasco2022-11-168-10/+14
|/ /
* | Merge pull request #385 from timgates42/bugfix_typosSteve Piercy2022-07-315-6/+6
|\ \ | |/ |/| docs: Fix a few typos
| * docs: Fix a few typosTim Gates2022-07-315-6/+6
|/ | | | | | | | | | | | | | | | | | | There are small typos in: - docs/runner.rst - docs/usage.rst - src/waitress/parser.py - src/waitress/server.py - tests/test_functional.py Fixes: - Should read `preceding` rather than `preceeding`. - Should read `multiple` rather than `multipe`. - Should read `descriptors` rather than `desctriptors`. - Should read `descriptor` rather than `desctriptor`. - Should read `attempt` rather than `atempt`. - Should read `analogous` rather than `analagous`. Signed-off-by: Tim Gates <tim.gates@iress.com>
* Re-introduce clear_untrusted_proxy_headers for the 3.x versionBert JW Regeer2022-05-305-103/+113
|
* Revert "Revert "Merge pull request #370 from Yourun-proger/del_warnings""Bert JW Regeer2022-05-303-31/+7
| | | | This reverts commit 2784628a0fd1a38492e27384815953a44b3a3d5a.
* Remove change of default for clear_untrusted_proxy_headersv2.1.2Bert JW Regeer2022-05-301-6/+0
|
* Revert "Merge pull request #370 from Yourun-proger/del_warnings"Bert JW Regeer2022-05-303-7/+31
| | | | | This reverts commit 603d2c12ce09fcd1be0b7a5734b4fca339820286, reversing changes made to 9e0b8c801e4d505c2ffc91b891af4ba48af715e0.
* Prep 2.1.2Bert JW Regeer2022-05-302-1/+32
|
* Merge pull request #377 from Pylons/bugfix/select-closed-socket-raceMichael Merickel2022-05-243-12/+15
|\ | | | | Bugfix: Retry if a thread closes a socket before we select() on it
| * Only close socket in the main threadBert JW Regeer2022-05-243-12/+15
| | | | | | | | | | | | This solves a race condition that may exist when attempting to loop over the open sockets and then calling select() and accidentally have called close() on the socket in an app thread.
* | Merge pull request #379 from Pylons/enhancement/pyupgrade-3.7Michael Merickel2022-05-249-22/+20
|\ \ | |/ |/| Run pyupgrade --py37-plus
| * pyupgrade 3.7Bert JW Regeer2022-05-249-22/+20
|/
* Merge pull request #376 from Pylons/bugfix/header-calculationMichael Merickel2022-04-262-1/+13
|\ | | | | Bugfix: header calculation
| * Fix bug in calculation of received headersBert JW Regeer2022-04-211-1/+1
| | | | | | | | | | | | | | This would manifest itself is the headers were sent in multiple individual packets that were processed after each other, the calculation for max header size would be wrong and Waitress would incorrectly return RequestHeaderFieldsTooLarge.
| * Add failing test for header size calculationBert JW Regeer2022-04-211-0/+12
| |
* | Merge pull request #378 from Pylons/bugfix/expose_tracebacks-encode-errorMichael Merickel2022-04-266-14/+70
|\ \ | |/ |/| Bugfix: expose_tracebacks encode error
| * Fix tests to assume body is bytesBert JW Regeer2022-04-211-2/+2
| |
| * Always encode the responses to utf-8 and set Content-TypeBert JW Regeer2022-04-213-11/+11
| |
| * e.to_response() should return bytes object for bodyBert JW Regeer2022-04-211-1/+1
| |
| * Add failing test for error_tracebackBert JW Regeer2022-04-212-0/+56
|/
* Merge pull request #370 from Yourun-proger/del_warningsBert JW Regeer2022-03-193-31/+7
|\ | | | | Set `clear_untrusted_proxy_headers` parameter to `True` by default
| * Small fixYourun-Proger2022-03-183-16/+2
| |
| * Merge branch 'master' of https://github.com/Pylons/waitress into del_warningsYourun-Proger2022-03-179-44/+202
| |\ | |/ |/|
* | Merge pull request from GHSA-4f7p-27jc-3c36v2.1.1Bert JW Regeer2022-03-169-44/+202
|\ \ | | | | | | Fix for HTTP request smuggling due to incorrect validation
| * | Prep for 2.1.1Bert JW Regeer2022-03-162-1/+27
| | |