Skip to content

[3.7] bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815) #16818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2019
Merged

[3.7] bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815) #16818

merged 1 commit into from
Oct 16, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 16, 2019

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 fab4ef2)

https://bugs.python.org/issue35998

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 fab4ef2)
@bedevere-bot bedevere-bot added the tests Tests in the Lib/test dir label Oct 16, 2019
@vstinner vstinner merged commit 1bceb0e into python:3.7 Oct 16, 2019
@vstinner vstinner deleted the fix_test_start_tls_server_1_37 branch October 16, 2019 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants