diff options
author | Roy T. Fielding <fielding@apache.org> | 2004-10-24 00:39:53 +0200 |
---|---|---|
committer | Roy T. Fielding <fielding@apache.org> | 2004-10-24 00:39:53 +0200 |
commit | c76dd4ecefc5c521a70c2a26f3aa52eb85472961 (patch) | |
tree | 49cc4f5a98d022b0655c918ce8b093c22cf6d3db /modules | |
parent | mod_cache: Add CacheIgnoreHeaders directive. (diff) | |
download | apache2-c76dd4ecefc5c521a70c2a26f3aa52eb85472961.tar.xz apache2-c76dd4ecefc5c521a70c2a26f3aa52eb85472961.zip |
veto and revert win64 patch: 64bit changes must percolate from the
bottom (APR/system) up -- we can't give the client a 64bit API and
then cast it to 32bits internally without introducing security holes
on other platforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105572 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/http/http_protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 9d32182c54..27fecaa14b 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -662,7 +662,7 @@ static int lookup_builtin_method(const char *method, apr_size_t len) */ AP_DECLARE(int) ap_method_number_of(const char *method) { - apr_size_t len = strlen(method); + int len = strlen(method); int which = lookup_builtin_method(method, len); if (which != UNKNOWN_METHOD) @@ -1858,7 +1858,7 @@ static long get_chunk_size(char *b) * Returns 0 on End-of-body, -1 on error or premature chunk end. * */ -AP_DECLARE(apr_ssize_t) ap_get_client_block(request_rec *r, char *buffer, +AP_DECLARE(long) ap_get_client_block(request_rec *r, char *buffer, apr_size_t bufsiz) { apr_status_t rv; |