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

Add a null check for response message context to skip engaging interceptors #2125

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

RakhithaRR
Copy link
Contributor

Purpose

This PR adds a null check for response message context to skip engaging the streaming interceptors. This value becomes null in a passthru scenario when a request payload with a large content length is sent to a backend which does not support chunking. Since this occurs only in such a scenario, we can skip engaging the interceptors based on the null check.

Related issue: https://github.com/wso2-enterprise/wso2-apim-internal/issues/5221
Fixes: wso2/api-manager#2343

@RakhithaRR RakhithaRR merged commit b60f5f2 into wso2:master Jan 10, 2024
1 of 2 checks passed
@RakhithaRR RakhithaRR deleted the AI-5221 branch February 3, 2024 06:20
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.

Response payload is missing when upload a large size file through Gateway.
2 participants