mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 12:59:42 -07:00
Bump cheroot from 10.0.0 to 10.0.1 (#2310)
* Bump cheroot from 10.0.0 to 10.0.1 Bumps [cheroot](https://github.com/cherrypy/cheroot) from 10.0.0 to 10.0.1. - [Release notes](https://github.com/cherrypy/cheroot/releases) - [Changelog](https://github.com/cherrypy/cheroot/blob/main/CHANGES.rst) - [Commits](https://github.com/cherrypy/cheroot/compare/v10.0.0...v10.0.1) --- updated-dependencies: - dependency-name: cheroot dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update cheroot==10.0.1 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci]
This commit is contained in:
parent
bcac5b7897
commit
6414a0ba12
10 changed files with 534 additions and 128 deletions
|
@ -292,7 +292,20 @@ class ConnectionManager:
|
|||
if self.server.ssl_adapter is not None:
|
||||
try:
|
||||
s, ssl_env = self.server.ssl_adapter.wrap(s)
|
||||
except errors.NoSSLError:
|
||||
except errors.FatalSSLAlert as tls_connection_drop_error:
|
||||
self.server.error_log(
|
||||
f'Client {addr !s} lost — peer dropped the TLS '
|
||||
'connection suddenly, during handshake: '
|
||||
f'{tls_connection_drop_error !s}',
|
||||
)
|
||||
return
|
||||
except errors.NoSSLError as http_over_https_err:
|
||||
self.server.error_log(
|
||||
f'Client {addr !s} attempted to speak plain HTTP into '
|
||||
'a TCP connection configured for TLS-only traffic — '
|
||||
'trying to send back a plain HTTP error response: '
|
||||
f'{http_over_https_err !s}',
|
||||
)
|
||||
msg = (
|
||||
'The client sent a plain HTTP request, but '
|
||||
'this server only speaks HTTPS on this port.'
|
||||
|
@ -311,8 +324,6 @@ class ConnectionManager:
|
|||
if ex.args[0] not in errors.socket_errors_to_ignore:
|
||||
raise
|
||||
return
|
||||
if not s:
|
||||
return
|
||||
mf = self.server.ssl_adapter.makefile
|
||||
# Re-apply our timeout since we may have a new socket object
|
||||
if hasattr(s, 'settimeout'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue