"upstream" command's site_spec part should be handled properly as documented
"IP/mask" handler was missing on parser for normal "upstream type", though it exists for "upstream none". closes #83
This commit is contained in:
parent
42e421e7bb
commit
531080d871
@ -140,7 +140,8 @@ static struct upstream *upstream_build (const char *host, int port, const char *
|
||||
|
||||
up->host = safestrdup (host);
|
||||
up->port = port;
|
||||
up->domain = safestrdup (domain);
|
||||
|
||||
upstream_handle_site_spec(up, domain);
|
||||
|
||||
log_message (LOG_INFO, "Added upstream %s %s:%d for %s",
|
||||
proxy_type_name(type), host, port, domain);
|
||||
|
Loading…
Reference in New Issue
Block a user