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

Record the amount of early data correctly #11883

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maskit
Copy link
Member

@maskit maskit commented Nov 23, 2024

I found two bugs around early data.

The first commit fixes a bug in autest tls_0rtt_server (more specifically, the test client, test-0rtt-s_client). The test does not use ALPN to use H2 on TLS a TLS connection (protocol violation). The violation was found on #11881 (the test fails with the fix on #11881).

The second commit fixes the other bug in SSLNetVC. It increments the total amount of early data received only after TLS handshake is completed. The first commit revealed this bug because it slightly changes the timing of read operations.

The amount was incremented only after TLS handshake is completed
@maskit
Copy link
Member Author

maskit commented Nov 23, 2024

[approve ci]

1 similar comment
@maskit
Copy link
Member Author

maskit commented Nov 23, 2024

[approve ci]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant