mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
chore: fix typos
This commit is contained in:
parent
88fc4a4315
commit
628a0bcb61
@ -139,7 +139,7 @@ The relevant maintainer for a pull request is assigned in 3 steps:
|
|||||||
|
|
||||||
* Step 1: Determine the subdirectory affected by the pull request. This might be src/registry, docs/source/api, or any other part of the repo.
|
* Step 1: Determine the subdirectory affected by the pull request. This might be src/registry, docs/source/api, or any other part of the repo.
|
||||||
|
|
||||||
* Step 2: Find the MAINTAINERS file which affects this directory. If the directory itself does not have a MAINTAINERS file, work your way up the the repo hierarchy until you find one.
|
* Step 2: Find the MAINTAINERS file which affects this directory. If the directory itself does not have a MAINTAINERS file, work your way up the repo hierarchy until you find one.
|
||||||
|
|
||||||
* Step 3: The first maintainer listed is the primary maintainer who is assigned the Pull Request. The primary maintainer can reassign a Pull Request to other listed maintainers.
|
* Step 3: The first maintainer listed is the primary maintainer who is assigned the Pull Request. The primary maintainer can reassign a Pull Request to other listed maintainers.
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ Changelog - 2021
|
|||||||
- fix tornado usage with latest versions of Django
|
- fix tornado usage with latest versions of Django
|
||||||
- add support for python -m gunicorn
|
- add support for python -m gunicorn
|
||||||
- fix systemd socket activation example
|
- fix systemd socket activation example
|
||||||
- allows to set wsgi application in configg file using `wsgi_app`
|
- allows to set wsgi application in config file using `wsgi_app`
|
||||||
- document `--timeout = 0`
|
- document `--timeout = 0`
|
||||||
- always close a connection when the number of requests exceeds the max requests
|
- always close a connection when the number of requests exceeds the max requests
|
||||||
- Disable keepalive during graceful shutdown
|
- Disable keepalive during graceful shutdown
|
||||||
|
|||||||
@ -5,7 +5,7 @@ Changelog - 2023
|
|||||||
22.0.0 - TBDTBDTBD
|
22.0.0 - TBDTBDTBD
|
||||||
==================
|
==================
|
||||||
|
|
||||||
- fix numerous security vulnerabilites in HTTP parser (closing some request smuggling vectors)
|
- fix numerous security vulnerabilities in HTTP parser (closing some request smuggling vectors)
|
||||||
- parsing additional requests is no longer attempted past unsupported request framing
|
- parsing additional requests is no longer attempted past unsupported request framing
|
||||||
- on HTTP versions < 1.1 support for chunked transfer is refused (only used in exploits)
|
- on HTTP versions < 1.1 support for chunked transfer is refused (only used in exploits)
|
||||||
- requests conflicting configured or passed SCRIPT_NAME now produce a verbose error
|
- requests conflicting configured or passed SCRIPT_NAME now produce a verbose error
|
||||||
@ -17,7 +17,7 @@ Changelog - 2023
|
|||||||
- minimum version is Python 3.7
|
- minimum version is Python 3.7
|
||||||
- the limitations on valid characters in the HTTP method have been bounded to Internet Standards
|
- the limitations on valid characters in the HTTP method have been bounded to Internet Standards
|
||||||
- requests specifying unsupported transfer coding (order) are refused by default (rare)
|
- requests specifying unsupported transfer coding (order) are refused by default (rare)
|
||||||
- HTTP methods are no longer casefolded by default (IANA method registry contains none affacted)
|
- HTTP methods are no longer casefolded by default (IANA method registry contains none affected)
|
||||||
- HTTP methods containing the number sign (#) are no longer accepted by default (rare)
|
- HTTP methods containing the number sign (#) are no longer accepted by default (rare)
|
||||||
- HTTP versions < 1.0 or >= 2.0 are no longer accepted by default (rare, only HTTP/1.1 is supported)
|
- HTTP versions < 1.0 or >= 2.0 are no longer accepted by default (rare, only HTTP/1.1 is supported)
|
||||||
- HTTP versions consisting of multiple digits or containing a prefix/suffix are no longer accepted
|
- HTTP versions consisting of multiple digits or containing a prefix/suffix are no longer accepted
|
||||||
@ -46,9 +46,9 @@ This is fixing the bad file description error.
|
|||||||
- support python 3.11
|
- support python 3.11
|
||||||
- fix gevent and eventlet workers
|
- fix gevent and eventlet workers
|
||||||
- fix threads support (gththread): improve performance and unblock requests
|
- fix threads support (gththread): improve performance and unblock requests
|
||||||
- SSL: noaw use SSLContext object
|
- SSL: now use SSLContext object
|
||||||
- HTTP parser: miscellaneous fixes
|
- HTTP parser: miscellaneous fixes
|
||||||
- remove unecessary setuid calls
|
- remove unnecessary setuid calls
|
||||||
- fix testing
|
- fix testing
|
||||||
- improve logging
|
- improve logging
|
||||||
- miscellaneous fixes to core engine
|
- miscellaneous fixes to core engine
|
||||||
|
|||||||
@ -29,7 +29,7 @@ This is fixing the bad file description error.
|
|||||||
- fix threads support (gththread): improve performance and unblock requests
|
- fix threads support (gththread): improve performance and unblock requests
|
||||||
- SSL: noaw use SSLContext object
|
- SSL: noaw use SSLContext object
|
||||||
- HTTP parser: miscellaneous fixes
|
- HTTP parser: miscellaneous fixes
|
||||||
- remove unecessary setuid calls
|
- remove unnecessary setuid calls
|
||||||
- fix testing
|
- fix testing
|
||||||
- improve logging
|
- improve logging
|
||||||
- miscellaneous fixes to core engine
|
- miscellaneous fixes to core engine
|
||||||
|
|||||||
@ -210,7 +210,7 @@ H protocol
|
|||||||
s status
|
s status
|
||||||
B response length
|
B response length
|
||||||
b response length or ``'-'`` (CLF format)
|
b response length or ``'-'`` (CLF format)
|
||||||
f referer
|
f referrer
|
||||||
a user agent
|
a user agent
|
||||||
T request time in seconds
|
T request time in seconds
|
||||||
M request time in milliseconds
|
M request time in milliseconds
|
||||||
@ -569,7 +569,7 @@ Whether client certificate is required (see stdlib ssl module's)
|
|||||||
=========== ===========================
|
=========== ===========================
|
||||||
--cert-reqs Description
|
--cert-reqs Description
|
||||||
=========== ===========================
|
=========== ===========================
|
||||||
`0` no client veirifcation
|
`0` no client verification
|
||||||
`1` ssl.CERT_OPTIONAL
|
`1` ssl.CERT_OPTIONAL
|
||||||
`2` ssl.CERT_REQUIRED
|
`2` ssl.CERT_REQUIRED
|
||||||
=========== ===========================
|
=========== ===========================
|
||||||
|
|||||||
@ -109,7 +109,7 @@ class Arbiter(object):
|
|||||||
in sorted(self.cfg.settings.items(),
|
in sorted(self.cfg.settings.items(),
|
||||||
key=lambda setting: setting[1]))))
|
key=lambda setting: setting[1]))))
|
||||||
|
|
||||||
# set enviroment' variables
|
# set environment' variables
|
||||||
if self.cfg.env:
|
if self.cfg.env:
|
||||||
for k, v in self.cfg.env.items():
|
for k, v in self.cfg.env.items():
|
||||||
os.environ[k] = v
|
os.environ[k] = v
|
||||||
|
|||||||
@ -2233,7 +2233,7 @@ class PasteGlobalConf(Setting):
|
|||||||
|
|
||||||
The option can be specified multiple times.
|
The option can be specified multiple times.
|
||||||
|
|
||||||
The variables are passed to the the PasteDeploy entrypoint. Example::
|
The variables are passed to the PasteDeploy entrypoint. Example::
|
||||||
|
|
||||||
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
$ gunicorn -b 127.0.0.1:8000 --paste development.ini --paste-global FOO=1 --paste-global BAR=2
|
||||||
|
|
||||||
|
|||||||
@ -166,7 +166,7 @@ class Message(object):
|
|||||||
content_length = value
|
content_length = value
|
||||||
elif name == "TRANSFER-ENCODING":
|
elif name == "TRANSFER-ENCODING":
|
||||||
if value.lower() == "chunked":
|
if value.lower() == "chunked":
|
||||||
# DANGER: transer codings stack, and stacked chunking is never intended
|
# DANGER: transfer codings stack, and stacked chunking is never intended
|
||||||
if chunked:
|
if chunked:
|
||||||
raise InvalidHeader("TRANSFER-ENCODING", req=self)
|
raise InvalidHeader("TRANSFER-ENCODING", req=self)
|
||||||
chunked = True
|
chunked = True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user