You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/14 03:53:24 UTC

[GitHub] [apisix] nic-6443 commented on issue #5347: bug: disable proxy_buffering doesn't work

nic-6443 commented on issue #5347:
URL: https://github.com/apache/apisix/issues/5347#issuecomment-968201045


   @zhendongcmss Check if the proxy-mirror plugin is enabled(by default will enable). If this plugin is enabled, apisix adds the mirror directive in "/" location, which will cause `proxy_request_buffering off;` to be disabled.
   ```
               {% if enabled_plugins["proxy-mirror"] then %}
               mirror          /proxy_mirror;
               {% end %}
   ```
   http://nginx.org/en/docs/http/ngx_http_mirror_module.html
   > Indicates whether the client request body is mirrored. When enabled, the client request body will be read prior to creating mirror subrequests. In this case, unbuffered client request body proxying set by the proxy_request_buffering, fastcgi_request_buffering, scgi_request_buffering, and uwsgi_request_buffering directives will be disabled.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org