Skip to content
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

Ignore response transform OCEs that occur during error handling #2452

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

MihaZupan
Copy link
Member

Closes #2317

We'll call TransformResponseAsync with a null proxyResponse as part of error handling to give transforms a chance to always run.
If they end up throwing a cancellation exception there's no point in us propagating it out given we're about to report a more specific error anyway.

@MihaZupan MihaZupan added this to the v.Next milestone Mar 25, 2024
@MihaZupan MihaZupan self-assigned this Mar 25, 2024
@MihaZupan MihaZupan merged commit 0cbdf12 into microsoft:main Apr 2, 2024
7 checks passed
@MihaZupan MihaZupan modified the milestones: v.Next, YARP 2.2.0-preview1 May 14, 2024
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.

Cancellation exception escapes when session affinity is enabled
2 participants