Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dropbox/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def init_poolmanager(self, connections, maxsize, block=False, **_):
block=block,
cert_reqs=ssl.CERT_REQUIRED,
ca_certs=_TRUSTED_CERT_FILE,
ssl_version=ssl.PROTOCOL_TLSv1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this is what you want? From https://docs.python.org/2/library/ssl.html#ssl.wrap_socket:

The parameter ssl_version specifies which version of the SSL protocol to use. … If not specified, the default is PROTOCOL_SSLv23; it provides the most compatibility with other versions.

)

def pinned_session(pool_maxsize=8):
Expand Down