| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
docs: Fix typo in usage.rst
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
Pylons/bugfix/move-socket-options-setting-into-try-except
Setting socket options may fail if remote has already disappeared
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
Replace pkg_resources use with importlib.metadata
|
|/ |
|
|\
| |
| | |
Fix testing of strerror to use actual valid errno/strerror to compare
|
|/
|
|
| |
Closes #395
|
|
|
|
| |
Closes #394
|
|\
| |
| | |
Make use of ident while showing server error (generated by waitress)
|
| |
| |
| | |
Co-authored-by: Bert JW Regeer <xistence@0x58.com>
|
| |
| |
| | |
Co-authored-by: Bert JW Regeer <xistence@0x58.com>
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Bump actions/checkout from 2 to 3
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | |
| | |
| | | |
Pylons/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 2 to 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>
|
| | |
|
|\ \
| | |
| | | |
Update to use more inclusive language in tox.ini
|
|/ / |
|
|\ \
| | |
| | | |
Remove `__nonzero__` methods
|
| |/ |
|
|\ \
| | |
| | | |
rename "master" to "main"
|
| | |
| | |
| | | |
Co-authored-by: Steve Piercy <web@stevepiercy.com>
|
|/ / |
|
|\ \
| |/
|/| |
docs: Fix a few typos
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
This reverts commit 2784628a0fd1a38492e27384815953a44b3a3d5a.
|
| |
|
|
|
|
|
| |
This reverts commit 603d2c12ce09fcd1be0b7a5734b4fca339820286, reversing
changes made to 9e0b8c801e4d505c2ffc91b891af4ba48af715e0.
|
| |
|
|\
| |
| | |
Bugfix: Retry if a thread closes a socket before we select() on it
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
Run pyupgrade --py37-plus
|
|/ |
|
|\
| |
| | |
Bugfix: header calculation
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|\ \
| |/
|/| |
Bugfix: expose_tracebacks encode error
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Set `clear_untrusted_proxy_headers` parameter to `True` by default
|
| | |
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Fix for HTTP request smuggling due to incorrect validation
|
| | | |
|