Hi all,<div><br></div><div>I'm trying to write an upstream which have to do multiple request / reply with backend, for one frontend request.</div><div><br></div><div>Currently,</div><div>- I'm writing first request to backend in create_request handler, write data into r->upstream->request_bufs, and returning NGX_OK</div>
<div>- Nginx call me on process_header. I can read data from r->upstream->buffer. I can loop on process_header if I return NGX_AGAIN. But I'm not able to send more data to backend. I try to add buffer in r->upstream->request_bufs, in r->upstream->request_bufs->next, nothing work.</div>
<div><br></div><div>Anybody know how to send data to backend in the process_header callback ?</div><div><br></div><div>Regards,</div><div><br></div><div>Bertrand</div>