mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Tone down the message that worker hostname is too long noting it only
affects legacy modules not yet using hostname_ex. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1824460 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1727,13 +1727,14 @@ PROXY_DECLARE(char *) ap_proxy_define_worker(apr_pool_t *p,
|
|||||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, ap_server_conf, APLOGNO(010117)
|
ap_log_error(APLOG_MARK, APLOG_ERR, 0, ap_server_conf, APLOGNO(010117)
|
||||||
"Alert! worker scheme (%s) too long; truncated to: %s", uri.scheme, wshared->scheme);
|
"Alert! worker scheme (%s) too long; truncated to: %s", uri.scheme, wshared->scheme);
|
||||||
}
|
}
|
||||||
if (PROXY_STRNCPY(wshared->hostname, uri.hostname) != APR_SUCCESS) {
|
|
||||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, ap_server_conf, APLOGNO(010118)
|
|
||||||
"Alert! worker hostname (%s) too long; truncated to: %s", uri.hostname, wshared->hostname);
|
|
||||||
}
|
|
||||||
if (PROXY_STRNCPY(wshared->hostname_ex, uri.hostname) != APR_SUCCESS) {
|
if (PROXY_STRNCPY(wshared->hostname_ex, uri.hostname) != APR_SUCCESS) {
|
||||||
return apr_psprintf(p, "worker hostname (%s) too long", uri.hostname);
|
return apr_psprintf(p, "worker hostname (%s) too long", uri.hostname);
|
||||||
}
|
}
|
||||||
|
if (PROXY_STRNCPY(wshared->hostname, uri.hostname) != APR_SUCCESS) {
|
||||||
|
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, ap_server_conf, APLOGNO(010118)
|
||||||
|
"worker hostname (%s) too long; truncated for legacy modules that do not use "
|
||||||
|
"proxy_worker_shared->hostname_ex: %s", uri.hostname, wshared->hostname);
|
||||||
|
}
|
||||||
wshared->flush_packets = flush_off;
|
wshared->flush_packets = flush_off;
|
||||||
wshared->flush_wait = PROXY_FLUSH_WAIT;
|
wshared->flush_wait = PROXY_FLUSH_WAIT;
|
||||||
wshared->is_address_reusable = 1;
|
wshared->is_address_reusable = 1;
|
||||||
|
Reference in New Issue
Block a user