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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user