Closed oowl closed 4 months ago
From https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md#recreate_request, recreate_request
will recreate all request buffers which send upstream, So it's not only the header but also body data, that's an implementation bug for openresty.
@oowl please add a test case to cover this bug.
@zhuizhuhaomeng CI is flaky, I am not sure why the plan number is not stable in our Perl test.
I hereby granted the copyright of the changes in this pull request to the authors of this lua-nginx-module project.
Context: https://github.com/openresty/lua-nginx-module/issues/2333