Re: nginx_http_write_filter_module.c

2023-06-21 Thread Maxim Dounin
Hello! On Wed, Jun 21, 2023 at 11:36:54AM +, Yuval Abadi via nginx wrote: > Nginx 1.23.2 > > The cpi ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in) > > Loop over the request out buffers and in chain > > If calculate size of combined buffer to write. > > I add body repl

nginx_http_write_filter_module.c

2023-06-21 Thread Yuval Abadi via nginx
Hi. Nginx 1.23.2 The cpi ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in) Loop over the request out buffers and in chain If calculate size of combined buffer to write. I add body replacement on chain. It have value, but ngx_buf_size(cl->buf); Return it have 0. Size. (l->b