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
Hi,
I'm trying to make parallel network subrequests in my module. They work
perfectly fine when run sequentially as follows.
```
ACCESS PHASE
return create_subrequest1; ---> (NGX_AGAIN)
return create_subrequest2; ---> (NGX_AGAIN)
```
To make it parallel, I removed the returns and called NGX_AGA