Form-data request is not being streamed #13353
Replies: 4 comments 9 replies
-
Buffering of request data can be configured per route using the |
Beta Was this translation helpful? Give feedback.
-
@LaeraFelipe are there any other plugins running for these requests? Certain plugins that read the request body will force buffering back on. |
Beta Was this translation helpful? Give feedback.
-
Please also share relevent client code that send the request, or a |
Beta Was this translation helpful? Give feedback.
-
@LaeraFelipe Was your Issue resolved? I am also seeing same behaviour where even after setting annotation konghq.com/request-buffering: "false" request seems to be getting buffered for multipart/form-data requests. |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Kong version (
$ kong version
)3.7.1
Current Behavior
We're sending a request with the form data content type, and apparently the request is only forwarded to the upstream server when kong has finished reading all the content there.
We've tried disabling request_buffering in the route and in the nginx settings using the configuration:
nginx_proxy_request_buffering=off
But nothing seems to work. Can anyone help us?
Expected Behavior
The request should be streamed in real time.
Steps To Reproduce
1 - Configure a route
2 - Send a request with content type: application/octet-stream.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions