Skip to content

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