Browse Source

[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 years ago
parent
commit
fb6df5e792
1 changed files with 1 additions and 0 deletions
  1. 1 0
      desktop/core/ext-py3/eventlet-0.30.2/eventlet/green/ssl.py

+ 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,
                         ssl_version=ssl_version,
                         ca_certs=ca_certs,
                         ca_certs=ca_certs,
                         do_handshake_on_connect=False,
                         do_handshake_on_connect=False,
+                        ciphers=kw.get('ciphers'),
                     )
                     )
             ret.keyfile = keyfile
             ret.keyfile = keyfile
             ret.certfile = certfile
             ret.certfile = certfile