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-- | 3.1 KB |
__main__.py | -rw-r--r-- | 485 bytes |
case.py | -rw-r--r-- | 55.6 KB |
loader.py | -rw-r--r-- | 21.7 KB |
main.py | -rw-r--r-- | 10.3 KB |
mock.py | -rw-r--r-- | 77.6 KB |
result.py | -rw-r--r-- | 7.3 KB |
runner.py | -rw-r--r-- | 7.6 KB |
signals.py | -rw-r--r-- | 2.3 KB |
suite.py | -rw-r--r-- | 10.2 KB |
util.py | -rw-r--r-- | 5.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...