Skip to content

Commit

Permalink
Merge pull request #385 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: Fix a few typos
  • Loading branch information
stevepiercy committed Jul 31, 2022
2 parents ec0e165 + 6409282 commit 73fe701
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/runner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/waitress/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def received(self, data):
# 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
Expand Down
2 changes: 1 addition & 1 deletion src/waitress/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def stop_subprocess(self):

# 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
Expand Down

0 comments on commit 73fe701

Please sign in to comment.