1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Cleanup proxy timeouts a bit to remove emits and make consistent to

vhost timeout.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2002-06-14 17:14:57 +00:00
parent 1f8c949443
commit 3f6aa521eb
4 changed files with 7 additions and 7 deletions

View File

@@ -1158,10 +1158,10 @@ PROXY_DECLARE(int) ap_proxy_connect_to_backend(apr_socket_t **newsock,
/* Set a timeout on the socket */
if (conf->timeout_set == 1) {
apr_setsocketopt(*newsock, APR_SO_TIMEOUT, conf->timeout);
apr_setsocketopt(*newsock, APR_SO_TIMEOUT, (int)conf->timeout);
}
else {
apr_setsocketopt(*newsock, APR_SO_TIMEOUT, s->timeout);
apr_setsocketopt(*newsock, APR_SO_TIMEOUT, (int)s->timeout);
}
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,