Re: Non blocking delay in header filters

2023-04-21 Thread Dipl. Ing. Sergey Brester via nginx-devel
Well, it is impossible if you'd use some memory blocks allocated by nginx within main request. The memory allocated inside the request is released on request end. An example how one can implement non-blocking delay can you see in https://github.com/openresty/echo-nginx-module#echo_sleep [2].

Non blocking delay in header filters

2023-04-20 Thread Ava Hahn via nginx-devel
Hello All, I am currently implementing a response header filter that triggers one or more subrequests conditionally based on the status of the parent response. I want to introduce some delay between the checking of the response and the triggering of the subrequest, but I do not want to block the