Now, if someone wants to add a special scoreboard state for proxy
attempting to make connection, be my guest.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89908
13f79535-47bb-0310-9956-
ffa450edef68
return HTTP_INTERNAL_SERVER_ERROR;
}
+ /* Set a timeout on the socket */
+ apr_setsocketopt(sock, APR_SO_TIMEOUT, (int)(r->server->timeout * APR_USEC_PER_SEC));
+
/*
* At this point we have a list of one or more IP addresses of
* the machine to connect to. If configured, reorder this
#endif /*_OSD_POSIX*/
}
+ /* Set a timeout on the socket */
+ apr_setsocketopt(sock, APR_SO_TIMEOUT, (int)(r->server->timeout * APR_USEC_PER_SEC));
+
ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r->server,
"proxy: FTP: socket has been created");
}
#endif
+ /* Set a timeout on the socket */
+ apr_setsocketopt(sock, APR_SO_TIMEOUT, (int)(r->server->timeout * APR_USEC_PER_SEC));
+
ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r->server,
"proxy: socket has been created");