Skip to content

writeread: add -v option to pin the (D)TLS protocol version - #96

Closed
quarckster wants to merge 1 commit into
openssl:mainfrom
quarckster:writeread-proto-version
Closed

quarckster wants to merge 1 commit into
openssl:mainfrom
quarckster:writeread-proto-version

Conversation

@quarckster

Copy link
Copy Markdown
Member

Since the DTLS 1.3 merge, writeread -d negotiates DTLS 1.3 on master and 4.1 but DTLS 1.2 everywhere else, mixing two protocols in one benchmark series. -v 1.2|1.3 pins min and max version so each can be measured separately. DTLS 1.3 is guarded so the tool still builds against 3.x.

Assisted-by: Claude:claude-fable-5-1

@mattcaswell mattcaswell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The CI test failures don't look relevant to this PR (but it looks like we need to fix something)

@quarckster

Copy link
Copy Markdown
Member Author

The CI test failures don't look relevant to this PR (but it looks like we need to fix something)

#97
openssl/project#2058

@esyr esyr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, barring a couple of nits.

Comment thread source/writeread.c
Comment thread source/writeread.c
Since the DTLS 1.3 merge, writeread -d negotiates DTLS 1.3 on master and
4.1 but DTLS 1.2 everywhere else, mixing two protocols in one benchmark
series. -v 1.2|1.3 pins min and max version so each can be measured
separately. DTLS 1.3 is guarded so the tool still builds against 3.x.

Assisted-by: Claude:claude-fable-5-1
@quarckster
quarckster force-pushed the writeread-proto-version branch from 86d6e18 to b219371 Compare September 11, 2026 13:51
@t8m t8m added the approval: ready to merge The 24 hour grace period has passed, ready to merge label Sep 11, 2026
t8m pushed a commit that referenced this pull request Sep 14, 2026
Since the DTLS 1.3 merge, writeread -d negotiates DTLS 1.3 on master and
4.1 but DTLS 1.2 everywhere else, mixing two protocols in one benchmark
series. -v 1.2|1.3 pins min and max version so each can be measured
separately. DTLS 1.3 is guarded so the tool still builds against 3.x.

Assisted-by: Claude:claude-fable-5-1
Reviewed-by: Matt Caswell <matt@openssl.foundation>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Merge-date: Mon Sep 14 09:52:37 2026
Merged-from: #96
@t8m

t8m commented Sep 14, 2026

Copy link
Copy Markdown
Member

Merged. Thank you.

@t8m t8m closed this Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: ready to merge The 24 hour grace period has passed, ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perftools: add -v option to pin the (D)TLS protocol version in writeread

4 participants