Przeglądaj źródła

[eventlet] Fixed wrap_socket missing ciphers parameter bug.

Upstream patch: https://github.com/eventlet/eventlet/commit/7aa50ad5

Without this fix, eventlet is ignoring the cipher list that is passed
in the gunicorn configs. We needed to make this fix locally as the
latest released version of eventlet doesn't work with any released
version of gunicorn.
Amit Srivastava 3 lat temu
rodzic
commit
fb6df5e792

+ 1 - 0
desktop/core/ext-py3/eventlet-0.30.2/eventlet/green/ssl.py

@@ -85,6 +85,7 @@ class GreenSSLSocket(_original_sslsocket):
                         ssl_version=ssl_version,
                         ca_certs=ca_certs,
                         do_handshake_on_connect=False,
+                        ciphers=kw.get('ciphers'),
                     )
             ret.keyfile = keyfile
             ret.certfile = certfile