diff src/http/ngx_http_upstream.c @ 5717:efc84a5723b3

Upstream: generic hash module.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 02 Jun 2014 16:16:22 +0400
parents 110b50657d77
children 63d7d69d0fe4
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -4998,6 +4998,7 @@ ngx_http_upstream_server(ngx_conf_t *cf,
         goto invalid;
     }
 
+    us->name = u.url;
     us->addrs = u.addrs;
     us->naddrs = u.naddrs;
     us->weight = weight;