set_min_proto_version(TLS1u3Version()) followed by set_max_proto_version(TLS1u2Version()) raises from neither call. SSL_CTX_set_min_proto_version and SSL_CTX_set_max_proto_version each return 1 for an inverted pair, and the Pony setters raise only on a zero return. Every session the context then creates fails its handshake with lib=20 reason=191 no protocols available.
The failure surfaces far from the call that caused it, and both setters' docstrings say they raise only when the context has been disposed.
set_min_proto_version(TLS1u3Version())followed byset_max_proto_version(TLS1u2Version())raises from neither call.SSL_CTX_set_min_proto_versionandSSL_CTX_set_max_proto_versioneach return 1 for an inverted pair, and the Pony setters raise only on a zero return. Every session the context then creates fails its handshake withlib=20 reason=191 no protocols available.The failure surfaces far from the call that caused it, and both setters' docstrings say they raise only when the context has been disposed.