Thanks, I didn't realize the contexts were cleared.

It should be ok to copy the context data correct?

e.g.

    v->data = ngx_pnalloc(r->pool, ctx->addr_text.len);
    ngx_memcpy(v->data, ctx->addr_text.data, ctx->addr_text.len);


Or is it unsafe to reference the context at all in the handler?

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to