Skip to content

fix(dial): verify HTTP/1.x protocol in verifyServerResponseH1 - #550

Merged
mafredri merged 1 commit into
mafredri/http2from
mafredri/verify-proto-major
Oct 29, 2026
Merged

mafredri merged 1 commit into
mafredri/http2from
mafredri/verify-proto-major

Conversation

@mafredri

Copy link
Copy Markdown
Member

Add resp.ProtoMajor check in verifyServerResponseH1 for consistency
with verifyServerResponseH2 which already performs this check.

Refs #539

@code-asher code-asher 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.

Sweet! The http prefix makes a lot of sense too for consistency.

@mafredri

Copy link
Copy Markdown
Member Author

Thanks for reviewing! Oh, looks like I failed to rebase properly, the protocol rename was supposed to be just in the other PR. 😄

Add resp.ProtoMajor check in verifyServerResponseH1 for consistency
with verifyServerResponseH2 which already performs this check.

Refs #539
@mafredri
mafredri force-pushed the mafredri/verify-proto-major branch from 06013d3 to ced6e9e Compare December 17, 2025 18:59
@mafredri
mafredri merged commit 3f2f9af into mafredri/http2 Oct 29, 2026
@mafredri
mafredri deleted the mafredri/verify-proto-major branch October 29, 2026 13:48
mafredri added a commit that referenced this pull request Oct 29, 2026
Add resp.ProtoMajor check in verifyServerResponseH1 for consistency
with verifyServerResponseH2 which already performs this check.

Refs #539
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