[issue33062] ssl_renegotiate() doesn't seem to be exposed

Vitaly Kruglikov report at bugs.python.org
Wed Mar 14 01:41:18 EDT 2018


Vitaly Kruglikov <vitaly.krug at gmail.com> added the comment:

> For extra fun, openssl itself doesn't fully support renegotiation on duplex connections ...

The necessitated modification to the application protocol on that thread sounds like an OpenSSL cop-out. There is no good reason that OpenSSL shouldn't be able to cache incoming application data during the client-initiated handshake just as it does at other times. It should be able to cache the incoming pre-negotiation records, decoding them. The pending() check would inform the client that they need to reap the incoming data during the handshake too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33062>
_______________________________________


More information about the Python-bugs-list mailing list