ngx_http_upstream_conpaas_module.c
/**
 * Initializes the module's configuration structure.
 */
Initializes the module's configuration structure.
Initializes the module ' s configuration structure .
static void *
ngx_http_upstream_conpaas_create_conf(ngx_conf_t *cf)
{
    ngx_http_upstream_conpaas_conf_t *conf;
    ngx_log_debug0(NGX_LOG_NOTICE, cf -> log, 0, "In ngx_http_upstream_conpaas_create_conf()...");
    conf = ngx_palloc(cf-> pool, sizeof(ngx_http_upstream_conpaas_conf_t));
    if (conf == NULL) {
        return NULL;
    }
    conf -> profiling_file = "/tmp/conpaas_profile";
    return conf;
}
static void * ngx_http_upstream_conpaas_create_conf ( ngx_conf_t * cf ) { ngx_http_upstream_conpaas_conf_t * conf ; ngx_log_debug0 ( NGX_LOG_NOTICE , cf -> log , 0 , " " ) ; conf = ngx_palloc ( cf -> pool , sizeof ( ngx_http_upstream_conpaas_conf_t ) ) ; if ( conf == NULL ) { return NULL ; } conf -> profiling_file = " " ; return conf ; }
Initializes the module's configuration structure.
Initializes the module ' s configuration structure .
//printf("log level: %x\n", cf -> log -> log_level); /* default location for the configuration file */