Repository navigation
Commit 8154556
committed
ssl: preserve cleartext after MemoryBIO shutdown
Read at most one TLS record while waiting for close_notify in BIO mode, leaving any post-TLS cleartext queued for the BIO owner.
Co-authored-by: Ivan Mironov <mironov.ivan@gmail.com>
Assisted-by: OpenAI Codex: GPT-51 parent 46084f2 commit 8154556
1 file changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1899 | 1899 | | |
1900 | 1900 | | |
1901 | 1901 | | |
1902 | | - | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
1903 | 1906 | | |
1904 | 1907 | | |
1905 | 1908 | | |
| |||
4382 | 4385 | | |
4383 | 4386 | | |
4384 | 4387 | | |
4385 | | - | |
4386 | | - | |
4387 | | - | |
4388 | | - | |
4389 | | - | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
| 4391 | + | |
| 4392 | + | |
4390 | 4393 | | |
4391 | 4394 | | |
4392 | 4395 | | |
| |||
4401 | 4404 | | |
4402 | 4405 | | |
4403 | 4406 | | |
4404 | | - | |
| 4407 | + | |
4405 | 4408 | | |
4406 | 4409 | | |
4407 | 4410 | | |
| |||
0 commit comments