Re: Serve multiple requests from a single proxy request

2018-08-31 Thread traquila
Thank you for your answer. This means nginx is not compatible with CMAF and low latency streaming. I tried the slice module and read its code but it does not cover my needs. I guess I have to develop a new proxy module. thanks Traquila Roman Arutyunyan Wrote: ---

Re: Serve multiple requests from a single proxy request

2018-08-31 Thread Roman Arutyunyan
Hi, On Fri, Aug 31, 2018 at 05:02:21AM -0400, traquila wrote: > Hello, > I'm wondering if nginx is able to serve multiple requests from a single > proxy request before it completes. > > I am using the following configuration: > > proxy_cache_lock on; > proxy_cache_lock_timeout 5s; >

Re: Throttle requests with limit_req rate based on header from response to auth subrequest

2018-08-31 Thread Francis Daly
On Thu, Aug 30, 2018 at 08:13:33PM -0400, jarstewa wrote: Hi there, For what it's worth: > 1) The limit_req directive is being processed before the auth subrequest > 2) Therefore, when the limit_req is present, the mapped variables are empty > since the header from the auth request is not presen

Serve multiple requests from a single proxy request

2018-08-31 Thread traquila
Hello, I'm wondering if nginx is able to serve multiple requests from a single proxy request before it completes. I am using the following configuration: proxy_cache_lock on; proxy_cache_lock_timeout 5s; proxy_cache ram; proxy_pass myUpstream; My upstream uses chunked transfer en