Skip to content

Commit

Permalink
Add refs about ignoring shutdown connection errors
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 11, 2020
1 parent 01e8e38 commit 9f9de65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cheroot/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ def plat_specific_errors(*errnames):
* ESHUTDOWN — write on a socket which has been shutdown for writing
* ECONNRESET — connection is reset by the peer, we received a TCP RST packet
Ref: https://github.com/cherrypy/cheroot/issues/341#issuecomment-735884889
Refs:
* https://github.com/cherrypy/cheroot/issues/341#issuecomment-735884889
* https://bugs.python.org/issue30319
* https://bugs.python.org/issue30329
* https://github.com/python/cpython/commit/83a2c28
* https://github.com/python/cpython/blob/c39b52f/Lib/poplib.py#L297-L302
* https://docs.microsoft.com/windows/win32/api/winsock/nf-winsock-shutdown
"""

try: # py3
Expand Down
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
# Requires a more liberal 'Accept: ' HTTP request header:
# Ref: https://github.com/sphinx-doc/sphinx/issues/7247
r'https://github\.com/cherrypy/cheroot/workflows/[^/]+/badge\.svg',

# Has an ephemeral anchor (line-range) but actual HTML has separate per-
# line anchors.
r'https://github.com/python/cpython/blob/c39b52f/Lib/poplib.py#L297-L302',
]
linkcheck_workers = 25

Expand Down

0 comments on commit 9f9de65

Please sign in to comment.