summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2022-07-31 00:12:38 -0700
committerGitHub <noreply@github.com>2022-07-31 00:12:38 -0700
commit73fe701cba0b37dc6099858b064cb1e755e83e9e (patch)
treef3a8a10900ff5b5ab0ac33ef17d0551ea63e34fc
parentec0e1655c4bba1411bf65dc9f0f03fdfb0e4fc74 (diff)
parent64092822ad79e47f71e09f9f55a55347d8eae25f (diff)
downloadwaitress-73fe701cba0b37dc6099858b064cb1e755e83e9e.tar.gz
Merge pull request #385 from timgates42/bugfix_typos
docs: Fix a few typos
-rw-r--r--docs/runner.rst2
-rw-r--r--docs/usage.rst2
-rw-r--r--src/waitress/parser.py2
-rw-r--r--src/waitress/server.py2
-rw-r--r--tests/test_functional.py4
5 files changed, 6 insertions, 6 deletions
diff --git a/docs/runner.rst b/docs/runner.rst
index 2776e44..70c0022 100644
--- a/docs/runner.rst
+++ b/docs/runner.rst
@@ -90,7 +90,7 @@ Common options:
--listen=[::1]:8080
--listen=*:8080
- This option may be used multiple times to listen on multipe sockets.
+ This option may be used multiple times to listen on multiple sockets.
A wildcard for the hostname is also supported and will bind to both
IPv4/IPv6 depending on whether they are enabled or disabled.
diff --git a/docs/usage.rst b/docs/usage.rst
index dfcd6dc..0789ff1 100644
--- a/docs/usage.rst
+++ b/docs/usage.rst
@@ -57,7 +57,7 @@ Using ``host`` and ``port`` is also supported:
host = 127.0.0.1
port = 8080
-The :term:`PasteDeploy` syntax for UNIX domain sockets is analagous:
+The :term:`PasteDeploy` syntax for UNIX domain sockets is analogous:
.. code-block:: ini
diff --git a/src/waitress/parser.py b/src/waitress/parser.py
index b31b5cc..dda2a90 100644
--- a/src/waitress/parser.py
+++ b/src/waitress/parser.py
@@ -126,7 +126,7 @@ class HTTPRequestParser:
# Header finished.
header_plus = s[:index]
- # Remove preceeding blank lines. This is suggested by
+ # Remove preceding blank lines. This is suggested by
# https://tools.ietf.org/html/rfc7230#section-3.5 to support
# clients sending an extra CR LF after another request when
# using HTTP pipelining
diff --git a/src/waitress/server.py b/src/waitress/server.py
index 0a0f876..0378d48 100644
--- a/src/waitress/server.py
+++ b/src/waitress/server.py
@@ -134,7 +134,7 @@ def create_server(
# This class is only ever used if we have multiple listen sockets. It allows
# the serve() API to call .run() which starts the wasyncore loop, and catches
-# SystemExit/KeyboardInterrupt so that it can atempt to cleanly shut down.
+# SystemExit/KeyboardInterrupt so that it can attempt to cleanly shut down.
class MultiSocketServer:
asyncore = wasyncore # test shim
diff --git a/tests/test_functional.py b/tests/test_functional.py
index 1dfd889..a64dd91 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -105,8 +105,8 @@ class SubprocessTests:
# The following is for the benefit of PyPy 3, for some reason it is
# holding on to some resources way longer than necessary causing tests
- # to fail with file desctriptor exceeded errors on macOS which defaults
- # to 256 file desctriptors per process. While we could use ulimit to
+ # to fail with file descriptor exceeded errors on macOS which defaults
+ # to 256 file descriptors per process. While we could use ulimit to
# increase the limits before running tests, this works as well and
# means we don't need to remember to do that.
import gc