module develop --nginx segmentation fault

Delta Yeh delta.yeh at gmail.com
Thu Aug 21 13:18:52 MSD 2008


Hi ,
   I developed a nginx module, and compile is ok.
 When I test the config file without the module directive ,it's ok.
But when I test the config file with the module directive , segmentationo fault.
I add log in the command set function and found the 3rd parameter is  null .
I have set the correct location create&merge conf function in the
module ctx structure.
The directive is  flag is
"NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1"

Any idea on the reason?

BR,
DeltaY





More information about the nginx mailing list