File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ Changes in Version 3.8.0.dev0
66
66
- :meth: `gridfs.grid_file.GridOut.read ` now only checks for extra chunks after
67
67
reading the entire file. Previously, this method would check for extra
68
68
chunks on every call.
69
-
70
69
- :meth: `~pymongo.database.Database.current_op ` now always uses the
71
70
``Database ``'s :attr: `~pymongo.database.Database.codec_options `
72
71
when decoding the command response. Previously the codec_options
73
72
was only used when the MongoDB server version was <= 3.0.
73
+ - TLS Renegotiation is now disabled when possible.
74
74
75
75
Issues Resolved
76
76
...............
Original file line number Diff line number Diff line change @@ -137,6 +137,8 @@ def get_ssl_context(*args):
137
137
ctx .options |= getattr (ssl , "OP_NO_SSLv3" , 0 )
138
138
# OpenSSL >= 1.0.0
139
139
ctx .options |= getattr (ssl , "OP_NO_COMPRESSION" , 0 )
140
+ # Python 3.7+ with OpenSSL >= 1.1.0h
141
+ ctx .options |= getattr (ssl , "OP_NO_RENEGOTIATION" , 0 )
140
142
if certfile is not None :
141
143
try :
142
144
if passphrase is not None :
You can’t perform that action at this time.
0 commit comments