浏览代码

[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