]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Clarify release notes about create_default_context.
authorBen Darnell <ben@bendarnell.com>
Wed, 27 May 2015 01:44:02 +0000 (21:44 -0400)
committerBen Darnell <ben@bendarnell.com>
Wed, 27 May 2015 01:44:02 +0000 (21:44 -0400)
Encourage use of SSLContext on the server side.

docs/releases/v4.2.0.rst

index e0fad8c0408fc2eaa2d44ae2c47e12f55bea159e..81476c0bd06e5b4ff906ca0df7b445c28b55e70b 100644 (file)
@@ -13,7 +13,9 @@ Backwards-compatibility notes
   of ``certifi`` when possible (i.e. Python 2.7.9+ or 3.4+). This includes
   `.IOStream` and ``simple_httpclient``, but not ``curl_httpclient``.
 * The default SSL configuration has become stricter, using
-  `ssl.create_default_context` where available.
+  `ssl.create_default_context` where available on the client side.
+  (On the server side, applications are encouraged to migrate from the
+  ``ssl_options`` dict-based API to pass an `ssl.SSLContext` instead).
 * The deprecated classes in the `tornado.auth` module, ``GoogleMixin``,
   ``FacebookMixin``, and ``FriendFeedMixin`` have been removed.