Skip to content

Fix manual framing incorrectly falling back to automatic mode#571

Merged
franfastly merged 2 commits intofastly:mainfrom
tyler-goodwin:main
Jan 16, 2026
Merged

Fix manual framing incorrectly falling back to automatic mode#571
franfastly merged 2 commits intofastly:mainfrom
tyler-goodwin:main

Conversation

@tyler-goodwin
Copy link
Contributor

When using manual framing with only a content-length header set, viceroy was falling back to auto mode.

This attempts to address #570

Copy link
Contributor

@franfastly franfastly left a comment

Choose a reason for hiding this comment

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

Thank you for working on this! Your fix looks great to me. I only have a comment regarding the integration test

When using manual framing with only a content-length or transfer encoding header set, viceroy was falling back to auto mode
Copy link
Contributor

@franfastly franfastly left a comment

Choose a reason for hiding this comment

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

Looking good! There's only a few minor things left

@tyler-goodwin
Copy link
Contributor Author

tyler-goodwin commented Jan 16, 2026

Thanks @franfastly, have updated comments & test name

Copy link
Contributor

@franfastly franfastly left a comment

Choose a reason for hiding this comment

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

Code looks good to me and tests pass. Thank you again!

@franfastly franfastly merged commit 7743893 into fastly:main Jan 16, 2026
11 checks passed
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