const char *uid = 0;
int session_timeout = 60;
const char *listener_override = 0;
- const char *proxy_override = 0;
const char *config_fname = 0;
struct conf_config *config = 0;
int test_mode = 0;
"mode");
return 1;
}
- ret = config_start_listeners(config, listener_override, proxy_override);
+ ret = config_start_listeners(config, listener_override);
if (ret)
return ret; /* error starting http listener */
}
int config_start_listeners(struct conf_config *conf,
- const char *listener_override,
- const char *proxy_override)
+ const char *listener_override)
{
struct conf_server *ser;
for (ser = conf->servers; ser; ser = ser->next)
return -1;
w = wrbuf_alloc();
- if (proxy_override)
- wrbuf_puts(w, proxy_override);
- else if (ser->proxy_host || ser->proxy_port)
+ if (ser->proxy_host || ser->proxy_port)
{
if (ser->proxy_host)
wrbuf_puts(w, ser->proxy_host);
int config_start_listeners(struct conf_config *conf,
- const char *listener_override,
- const char *proxy_override);
+ const char *listener_override);
void config_stop_listeners(struct conf_config *conf);