diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-10-16 08:36:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-16 08:36:57 (GMT) |
commit | afbcd9f26d1bf5390f56f18c9afbf753e48f230d (patch) | |
tree | bf9dbad300c26da17d0b7de55bc13642ad311020 /Python/pythonrun.c | |
parent | 2d647c0728d82a143bc20707258a7a1be0366558 (diff) | |
download | cpython-afbcd9f26d1bf5390f56f18c9afbf753e48f230d.zip cpython-afbcd9f26d1bf5390f56f18c9afbf753e48f230d.tar.gz cpython-afbcd9f26d1bf5390f56f18c9afbf753e48f230d.tar.bz2 |
bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815)
main() is now responsible to send the ANSWER, rather than
ServerProto. main() now waits until it got the HELLO before sending
the ANSWER over the new transport.
Previously, there was a race condition between main() replacing the
protocol and the protocol sending the ANSWER once it gets the HELLO.
TLSv1.3 was disabled for the test: reenable it.
(cherry picked from commit fab4ef2df0857ab0c97f3058ac5ec3280c4eb891)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions