Преглед на файлове

[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 години
родител
ревизия
fb6df5e792
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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,
                         ca_certs=ca_certs,
                         do_handshake_on_connect=False,
+                        ciphers=kw.get('ciphers'),
                     )
             ret.keyfile = keyfile
             ret.certfile = certfile