Repository navigation
Commit 5161c39
committed
SingleTLSLayerTestCase: Catch BrokenPipeError
OpenSSL 3.4.0 returns `ERR_LIB_SYS` in some more situations than it used
to. In the case exercised by
`SingleTLSLayerTestCase.test_close_after_handshake`,
python/cpython#127361 (also backported to the
3.12 and 3.13 branches) turns this into `BrokenPipeError`. It seems
reasonable to treat this in the same way as `ConnectionAbortedError` and
`ConnectionResetError`.1 parent 1111e6c commit 5161c39
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments