You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2015/06/01 07:45:13 UTC
svn commit: r1682819 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Author: jailletc36
Date: Mon Jun 1 05:45:13 2015
New Revision: 1682819
URL: http://svn.apache.org/r1682819
Log:
Improve error message (related to PR57311 diagnostic)
Modified:
httpd/httpd/trunk/modules/proxy/proxy_util.c
Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1682819&r1=1682818&r2=1682819&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Mon Jun 1 05:45:13 2015
@@ -1152,7 +1152,7 @@ PROXY_DECLARE(char *) ap_proxy_define_ba
c = strchr(uri, ':');
if (c == NULL || c[1] != '/' || c[2] != '/' || c[3] == '\0')
- return "Bad syntax for a balancer name";
+ return apr_psprintf(p, "Bad syntax for a balancer name (%s)", uri);
/* remove path from uri */
if ((q = strchr(c + 3, '/')))
*q = '\0';