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

fix(proxy): fix request buffering for HTTP/2.0 #10595

Merged
merged 1 commit into from
Mar 31, 2023

Commits on Mar 31, 2023

  1. fix(proxy): fix request buffering for HTTP/2.0

    ### Summary
    
    Turning request/response buffering off for HTTP/2.0 is not possible.
    There is a check that causes buffering only to be controllable for HTTP/1.1.
    
    This was probably done because of an issue in nginx, which was fixed in
    version 1.9.14 (http://nginx.org/en/docs/http/ngx_http_v2_module.html):
    
    > Before version 1.9.14, buffering of a client request body could not be
    > disabled regardless of [proxy_request_buffering](http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering),
    > [fastcgi_request_buffering](http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_request_buffering),
    > [uwsgi_request_buffering](http://nginx.org/en/docs/http/ngx_http_uwsgi_module.html#uwsgi_request_buffering), and
    > [scgi_request_buffering](http://nginx.org/en/docs/http/ngx_http_scgi_module.html#scgi_request_buffering) directive values.
    
    Kong now has Nginx > 1.9.14, so the check is not needed any more.
    
    The work was done by @PidgeyBE, thank you very much!
    
    ### Issues Resolved
    
    Fix #7418
    Close #10204
    
    Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com>
    PidgeyBE authored and bungle committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    9547c53 View commit details
    Browse the repository at this point in the history