summaryrefslogtreecommitdiff
path: root/Tools/scripts/generate_sre_constants.py
diff options
context:
space:
mode:
authorOleg Iarygin <oleg@arhadthedev.net>2022-04-15 15:23:14 +0300
committerGitHub <noreply@github.com>2022-04-15 14:23:14 +0200
commit6217864fe5f6855f59d608733ce83fd4466e1b8c (patch)
tree3d852fadd0e29891d382ed9f41f161b237b3e703 /Tools/scripts/generate_sre_constants.py
parentbd26ef5e9e701d2ab3509a49d9351259a3670772 (diff)
downloadcpython-git-6217864fe5f6855f59d608733ce83fd4466e1b8c.tar.gz
gh-79156: Add start_tls() method to streams API (#91453)
The existing event loop `start_tls()` method is not sufficient for connections using the streams API. The existing StreamReader works because the new transport passes received data to the original protocol. The StreamWriter must then write data to the new transport, and the StreamReaderProtocol must be updated to close the new transport correctly. The new StreamWriter `start_tls()` updates itself and the reader protocol to the new SSL transport. Co-authored-by: Ian Good <icgood@gmail.com>
Diffstat (limited to 'Tools/scripts/generate_sre_constants.py')
0 files changed, 0 insertions, 0 deletions