what's the meaning ? ctx->srv conf = cscfp[s]->ctx->srv conf
sbc19861004 at gmail.com
Thu Dec 23 06:50:26 MSK 2010
That code is for changing the context of 'cf', and make the 'cf'
appropriate for the function 'merge_srv_conf'. I can't see any thing matters
can cause memory leak unless the "merge_srv_conf" function that the modules
provide did this.
On Thu, Dec 23, 2010 at 11:08 AM, garry.lgr <nginx-forum at nginx.us> wrote:
> hi~~, now I'm reading the code of nginx-0.9.1.
> I readed the code "ctx->srv_conf = cscfp[s]->ctx->srv_conf" at line
> 593 in the ngx_http.c .
> but I really don't understand it's meaning.
> Who can tell me why do this? I find it will make memory leak.
> Posted at Nginx Forum:
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx