Welcome! Log In Create A New Profile

Advanced

Re: what's the meaning ? ctx->srv conf = cscfp[s]->ctx->srv conf

December 23, 2010 03:50AM
On Thu, Dec 23, 2010 at 02:51:01AM -0500, garry.lgr wrote:

> Thanks, Igor Sysoev.
>
> Now I understood your meaning. As a hidden parameter, that's very
> smart.

I'm not sure that is smart at least in this context.
It appeared here rather for compatibility reason.

> but I looked up the code of many http module files, don't find any
> where you use this .
>
> Could you tell me where you use it ?

They are used via macros ngx_http_conf_get_module_srv_conf()
and ngx_http_conf_get_module_loc_conf() in merge phases.
Currenly only ngx_http_conf_get_module_loc_conf() is used in such context
in proxy, fastcgi, uwscgi and scgi modules.


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Re: what's the meaning ? ctx->srv conf = cscfp[s]->ctx->srv conf

eagle sbc December 22, 2010 10:54PM

Re: what's the meaning ? ctx->srv conf = cscfp[s]->ctx->srv conf

garry.lgr December 23, 2010 01:46AM

Re: what's the meaning ? ctx->srv conf = cscfp[s]->ctx->srv conf

Igor Sysoev December 23, 2010 02:16AM

Re: what's the meaning ? ctx->srv conf = cscfp[s]->ctx->srv conf

garry.lgr December 23, 2010 02:51AM

Re: what's the meaning ? ctx->srv conf = cscfp[s]->ctx->srv conf

Igor Sysoev December 23, 2010 03:50AM

Re: what's the meaning ? ctx->srv conf = cscfp[s]->ctx->srv conf

garry.lgr December 23, 2010 05:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready