Welcome! Log In Create A New Profile

Advanced

Module development question regarding ngx_http_get_module_loc_conf

Aaron Bedra
July 11, 2012 04:08PM
Hello,

I have been banging my head against the wall trying to figure this out. The
full code to my module is at https://gist.github.com/3087852. It is
obviously still a work in progress, but I'm stuck. I'm trying to add an
argument to my directive. I have read the guides and looked at other
modules and everyone seems to say to do the same thing.

Basically, when I call

rlcf = ngx_http_get_module_loc_conf(r, ngx_http_repsheet_module);

the values set in ngx_http_repsheet aren't there anymore. I have confirmed
that they are getting set in via gdb. I'm guessing that I am forgetting to
do something or have overlooked something stupid here, but I just can't
seem to find it. Any help is greatly appreciated.

Cheers,

Aaron
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Module development question regarding ngx_http_get_module_loc_conf

Aaron Bedra 1140 July 11, 2012 04:08PM

Re: Module development question regarding ngx_http_get_module_loc_conf

Valentin V. Bartenev 472 July 11, 2012 04:42PM

Re: Module development question regarding ngx_http_get_module_loc_conf

Aaron Bedra 575 July 11, 2012 05:02PM

Re: Module development question regarding ngx_http_get_module_loc_conf

Valentin V. Bartenev 626 July 11, 2012 05:46PM

Re: Module development question regarding ngx_http_get_module_loc_conf

Aaron Bedra 721 July 11, 2012 06:20PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 262
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