summaryrefslogtreecommitdiffstats
path: root/Python/flowgraph.c
diff options
context:
space:
mode:
authorMartijn Pieters <mj@zopatista.com>2023-12-20 23:09:01 (GMT)
committerGitHub <noreply@github.com>2023-12-20 23:09:01 (GMT)
commit1ff02385944924db7e683a607da2882462594764 (patch)
tree05a658fb019bc290359c9c3aee69116decdd8f91 /Python/flowgraph.c
parenta3e8afe0a3b5868440501edf579d1d4711c0fb18 (diff)
downloadcpython-1ff02385944924db7e683a607da2882462594764.zip
cpython-1ff02385944924db7e683a607da2882462594764.tar.gz
cpython-1ff02385944924db7e683a607da2882462594764.tar.bz2
GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (#113334)
When wrapped, `_SSLProtocolTransport._force_close(exc)` is called just like in the unwrapped scenario `_SelectorTransport._force_close(exc)` or `_ProactorBasePipeTransport._force_close(exc)` would be called, except here the exception needs to be passed through the `SSLProtocol._abort()` method, which didn't accept an exception object. This commit ensures that this path works, in the same way that the uvloop implementation of SSLProto passes on the exception (on which the current implementation of SSLProto is based).
Diffstat (limited to 'Python/flowgraph.c')
0 files changed, 0 insertions, 0 deletions