Welcome! Log In Create A New Profile


Make the Subrequest start same time with main request

July 09, 2021 03:05AM
Hi All,

I have written the Nginx module using subrequest with the main request body, and authorization based on the result of a subrequest
(I consulted from https://github.com/openresty/srcache-nginx-module and http://nginx.org/en/docs/http/ngx_http_auth_request_module.html)
But the subrequest start when the body read completely, so the delay time occurs when the request body size bigger

How can I make the request body is sent to the sub server immediately as it is received?
Can I replace the main request body with the response of the subrequest?

Huy Le
Subject Author Posted

Make the Subrequest start same time with main request

lehuyprox July 09, 2021 03:05AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready