Nice. Might as well also note if they are inherited as well...?

On Sep 17, 2013, at 11:46 AM, [email protected] wrote:

> Author: druggeri
> Date: Tue Sep 17 15:46:56 2013
> New Revision: 1524101
> 
> URL: http://svn.apache.org/r1524101
> Log:
> Add note to balancer manager whether changes will/will not survive a restart
> 
> Modified:
>    httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
> 
> Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
> URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?rev=1524101&r1=1524100&r2=1524101&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
> +++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Tue Sep 17 15:46:56 
> 2013
> @@ -1463,7 +1463,10 @@ static int balancer_handler(request_rec 
>         ap_rvputs(r, "<dl><dt>Server Version: ",
>                   ap_get_server_description(), "</dt>\n", NULL);
>         ap_rvputs(r, "<dt>Server Built: ",
> -                  ap_get_server_built(), "\n</dt></dl>\n", NULL);
> +                  ap_get_server_built(), "</dt>\n", NULL);
> +        ap_rvputs(r, "<dt>Balancer changes will ", conf->bal_persist ? "" : 
> "NOT ",
> +                  "be persisted on restart.</dt>", NULL);
> +        ap_rputs("</dl>\n", r);
>         balancer = (proxy_balancer *)conf->balancers->elts;
>         for (i = 0; i < conf->balancers->nelts; i++) {
> 
> 
> 

Reply via email to