Staging
v0.5.1
v0.5.1
Revision 63b3f2b19cc96801c3b8619e4cf8aa9028e7a33c authored by Christian Heimes on 05 September 2017, 20:43:05 UTC, committed by GitHub on 05 September 2017, 20:43:05 UTC
Drop handshake_done and peer_cert members from PySSLSocket struct. The peer certificate can be acquired from *SSL directly. SSL_get_peer_certificate() does not trigger any network activity. Instead of manually tracking the handshake state, simply use SSL_is_init_finished(). In combination these changes fix auto-handshake for non-blocking MemoryBIO connections. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 66dc33b6822be93f85d84d24d3f9159ff568fbbb)
1 parent f201e88
File | Mode | Size |
---|---|---|
test | ||
__init__.py | -rw-r--r-- | 1018 bytes |
dbapi2.py | -rw-r--r-- | 2.6 KB |
dump.py | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...