I guess we still need the request buf, so made these changes which seemed
better. but the behavior is still same. Went though the code for upstream
create request and looks like the body is always read from buffer.
ngx_buf_t *payload_buf = NULL;
payload_buf = ngx_create_temp_buf(r->pool,
I'm building an nginx module and trying to create a post subrequest from the
main request. The response from the main request buffers is saved to a nginx
temp file and a post subrequest is created. The body of the post subrequest
is from the nginx temp file instead of buffers.
```
ngx_http_re
On Tue, Mar 09, 2021 at 08:05:02PM -0500, andromeda123 wrote:
Hi there,
> Can you please elaborate why start-up DNS resolution does not use `resolver`
> directive? Just the way run time resolution does?
At a guess -- there does not need to be exactly one resolver directive;
and there is no need