소스 검색

[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,
                         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