Klaus Demo nginx / 8cad1c0
Upstream: support for port in proxy_bind and friends. Roman Arutyunyan 6 years ago
2 changed file(s) with 5 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
58275827 return NGX_CONF_ERROR;
58285828 }
58295829
5830 rc = ngx_parse_addr(cf->pool, local->addr, value[1].data, value[1].len);
5830 rc = ngx_parse_addr_port(cf->pool, local->addr, value[1].data,
5831 value[1].len);
58315832
58325833 switch (rc) {
58335834 case NGX_OK:
58995900 return NGX_ERROR;
59005901 }
59015902
5902 rc = ngx_parse_addr(r->pool, addr, val.data, val.len);
5903 rc = ngx_parse_addr_port(r->pool, addr, val.data, val.len);
59035904 if (rc == NGX_ERROR) {
59045905 return NGX_ERROR;
59055906 }
17191719 return NGX_CONF_ERROR;
17201720 }
17211721
1722 rc = ngx_parse_addr(cf->pool, local->addr, value[1].data, value[1].len);
1722 rc = ngx_parse_addr_port(cf->pool, local->addr, value[1].data,
1723 value[1].len);
17231724
17241725 switch (rc) {
17251726 case NGX_OK: