summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2022-07-31 12:35:29 +1000
committerTim Gates <tim.gates@iress.com>2022-07-31 12:35:29 +1000
commit64092822ad79e47f71e09f9f55a55347d8eae25f (patch)
treef3a8a10900ff5b5ab0ac33ef17d0551ea63e34fc /src
parentec0e1655c4bba1411bf65dc9f0f03fdfb0e4fc74 (diff)
downloadwaitress-64092822ad79e47f71e09f9f55a55347d8eae25f.tar.gz
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>
Diffstat (limited to 'src')
-rw-r--r--src/waitress/parser.py2
-rw-r--r--src/waitress/server.py2
2 files changed, 2 insertions, 2 deletions
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