Skip to content

refactor(proxy/http): a concrete orig_proto error #3901

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

Merged
merged 1 commit into from
May 12, 2025

Conversation

cratelyn
Copy link
Collaborator

@cratelyn cratelyn commented May 6, 2025

this commit introduces a concrete error type for the orig_proto upgrade layer.

this layer is used by the proxy's http client to transparently upgrade outbound http/1 traffic to http/2. rather than boxing errors, we define a concrete error type to facilitate inspecting errors in the future.

for now, the top-level http client continues to box errors thrown by the "orig_proto" upgrade client.

nb: this is based upon #3894.

@cratelyn cratelyn force-pushed the kate/proxy-http.concrete-type-for-downgrade-errors branch 4 times, most recently from 4c14378 to c50c590 Compare May 6, 2025 04:54
@cratelyn cratelyn marked this pull request as ready for review May 6, 2025 05:06
@cratelyn cratelyn requested a review from a team as a code owner May 6, 2025 05:06
Base automatically changed from kate/proxy-http.refactor-http1-client-service to main May 12, 2025 19:38
this commit introduces a concrete error type for the `orig_proto`
upgrade layer.

this layer is used by the proxy's http client to transparently upgrade
outbound http/1 traffic to http/2. rather than boxing errors, we define
a concrete error type to facilitate inspecting errors in the future.

for now, the top-level http client continues to box errors thrown by the
"orig_proto" upgrade client.

Signed-off-by: katelyn martin <[email protected]>
@cratelyn cratelyn force-pushed the kate/proxy-http.concrete-type-for-downgrade-errors branch from c50c590 to 7382b65 Compare May 12, 2025 19:42
@cratelyn
Copy link
Collaborator Author

force pushed, now that #3894 has merged. ✨

@cratelyn cratelyn merged commit 00b5de1 into main May 12, 2025
15 checks passed
@cratelyn cratelyn deleted the kate/proxy-http.concrete-type-for-downgrade-errors branch May 12, 2025 19:59
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