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

Large POST Bodies Cause Failure with Transform Plugin #11556

Open
shinrich opened this issue Jul 16, 2024 · 0 comments · May be fixed by #11557
Open

Large POST Bodies Cause Failure with Transform Plugin #11556

shinrich opened this issue Jul 16, 2024 · 0 comments · May be fixed by #11557
Assignees

Comments

@shinrich
Copy link
Member

When we run traffic with small post bodies (e.g., 1024 bytes), the traffic passes through our transform plugin without issue.

When the post body is larger (e.g. 4096), the curl request fails and this message shows up in error.log "Request transformation failed to set content length".

The key difference between the working and failing case is that in the failing case, the post body is being read over multiple packets. In the working case, the post body and the request header are read together.

We first saw this in 9.1.3, but it reproduces in 10. I have a code change to make this work for me. I will post that, but I may be missing how to set the data argument for the transform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant