]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add SSLIOStream.wait_for_handshake.
authorBen Darnell <ben@bendarnell.com>
Sun, 8 Mar 2015 00:43:57 +0000 (19:43 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 8 Mar 2015 00:45:02 +0000 (19:45 -0500)
commitdfb752a7d77047633fdc9ec61c4bacccc6a366cb
tree61c3de0d8bc1e33cb3a85147d01d1cffbb9e4d27
parent6248b62a56a6eb4b8dfffc348c256e7a012071a4
Add SSLIOStream.wait_for_handshake.

This allows server-side applications to wait for the handshake to
complete in order to verify client certificates or use NPN/ALPN.

Fix a discrepancy between the callback and Future modes of
SSLIOStream.connect; now they both wait for the handshake to
complete.
tornado/iostream.py
tornado/test/iostream_test.py