On Thu, Aug 28, 2014 at 12:23 AM, Lu, Yingqi wrote:
> Hi Sephe,
>
> Thanks for your email.
>
> The main difference between your patch and this prototype is that we create
> certain number of duplicated listen sockets in the master process instead of
> child processes. All the child processes hav
Hi Guys
I am trying to read the request body in pre_access phase. This seems
like a regular requirement but I dont seem to find a good way to do
this. Since the request body is read asynchronously, I have to do
phases++ and core_run_phases myself in the read_completion callback. I
also have to set
Hello!
On Thu, Aug 28, 2014 at 10:34 AM, Fasih wrote:
> I am trying to read the request body in pre_access phase. This seems
> like a regular requirement but I dont seem to find a good way to do
> this. Since the request body is read asynchronously, I have to do
> phases++ and core_run_phases myse
Hey,
who can explain this function's behavior? Am I using this wrong? It always
returns NULL, though I 100% ensured, there should be. Is here any way to
list all nodes in the rbtree?
static int purge_from_cache(ngx_slab_pool_t *shpool, ngx_rbtree_t *rbtree,
ngx_str_t ip, ngx_http_request_t *r)
{
I have a filter that may want to rewrite request bodies.
Stream-editing an nginx chain is straightforward enough
(the equivalent output filter works fine).
But as I understand it, I need to cater for a case where
a request body is in r->request_body->temp_file.
Assuming it's there for a reason, I