Skip to content
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

Provide information found in CH even when it is too old #311

Merged
merged 4 commits into from
May 16, 2020

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented May 15, 2020

This PR makes sure that the on_client_hello callback is called even when TLS handshake fails due to the CH being incompatible with TLS 1.3.

A new flag, called ptls_on_client_hello_parameters_t::incompatible_version is added to the parameter set passed to the callback, so that the callback can make decisions based on if picotls is going to consume the ClientHello.

@kazuho kazuho requested a review from i110 May 15, 2020 06:10
…pported_versions`. `legacy_version` is checked after determining the TLS version
Copy link
Contributor

@i110 i110 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kazuho kazuho merged commit 89f71e9 into master May 16, 2020
@kazuho
Copy link
Member Author

kazuho commented May 16, 2020

Thank you for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants