-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
TLS 1.3: EarlyData SRV: Write early_data
extension of NewSessionTicket
#6721
TLS 1.3: EarlyData SRV: Write early_data
extension of NewSessionTicket
#6721
Conversation
99890f9
to
7b8e5aa
Compare
9fd6b8f
to
baf774d
Compare
21a2d11
to
447bb1c
Compare
447bb1c
to
9b8f3bd
Compare
603dfbd
to
0f17947
Compare
0f17947
to
ea490d3
Compare
ea490d3
to
da3b712
Compare
This reverts commit 3d8d6a7. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
- rename connection time variable - remove unnecessary comments Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
- move early data check to `prepare` - avoid `((void) output_len) - replace check with `session_ticket_allow` in 2nd place Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
0a74e67
to
750e067
Compare
Rebased to resolve conflicts |
OpenCI passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, only a niptick comment.
@@ -518,7 +502,8 @@ run_test "TLS 1.3 G->m: EarlyData: feature is enabled, good." \ | |||
"$G_NEXT_CLI localhost --priority=NORMAL:-VERS-ALL:+VERS-TLS1.3:+GROUP-ALL:+KX-ALL \ | |||
-d 10 -r --earlydata $EARLY_DATA_INPUT " \ | |||
0 \ | |||
-s "NewSessionTicket: early_data(42) extension exists." \ | |||
-s "Sent max_early_data_size=$EARLY_DATA_INPUT_LEN" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Niptick comment: it seems Sent max_early_data_size=$EARLY_DATA_INPUT_LEN
appears first in the logs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will change it in next PR
Description
fix #6347
This PR write early_data extension of NST message.
max_early_data_field
is come from configured value. Next PRs will fix that.Gatekeeper checklist
Notes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.