mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Clean up some timeout arg warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87006 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1413,9 +1413,9 @@ request_rec *ap_read_request(conn_rec *conn)
|
||||
r->input_filters = conn->input_filters;
|
||||
|
||||
apr_setsocketopt(conn->client_socket, APR_SO_TIMEOUT,
|
||||
conn->keptalive
|
||||
(int)(conn->keptalive
|
||||
? r->server->keep_alive_timeout * APR_USEC_PER_SEC
|
||||
: r->server->timeout * APR_USEC_PER_SEC);
|
||||
: r->server->timeout * APR_USEC_PER_SEC));
|
||||
|
||||
ap_add_output_filter("BYTERANGE", NULL, r, r->connection);
|
||||
ap_add_output_filter("CONTENT_LENGTH", NULL, r, r->connection);
|
||||
@@ -1434,7 +1434,7 @@ request_rec *ap_read_request(conn_rec *conn)
|
||||
}
|
||||
if (r->connection->keptalive) {
|
||||
apr_setsocketopt(r->connection->client_socket, APR_SO_TIMEOUT,
|
||||
r->server->timeout * APR_USEC_PER_SEC);
|
||||
(int)(r->server->timeout * APR_USEC_PER_SEC));
|
||||
}
|
||||
if (!r->assbackwards) {
|
||||
get_mime_headers(r);
|
||||
|
Reference in New Issue
Block a user