On 2/27/17 7:45 PM, Thibault Charbonnier wrote:
+ if (r->hostsfile.len > 0
+ && ngx_resolver_parse_hostsfile(cf, r, r->hostsfile)
My bad, the third argument here can probably be removed. I moved the
hosts file path to the resolver struct at some point in order to
_eventually_ implement some sort or reloading in the future.
+ != NGX_OK)
+ {
+ return NULL;
+ }
+
return r;
}
_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel