diff options
author | Jim Jagielski <jim@apache.org> | 2011-09-12 16:15:53 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2011-09-12 16:15:53 +0200 |
commit | 625b89a7e2fad9d448902e332b274f638ca9ce43 (patch) | |
tree | 5e8bb87798c63d37c694ecf6839f30e9c7c1fd49 /include/http_core.h | |
parent | Fixed MaxRanges config block. (diff) | |
download | apache2-625b89a7e2fad9d448902e332b274f638ca9ce43.tar.xz apache2-625b89a7e2fad9d448902e332b274f638ca9ce43.zip |
Add in MaxRangeOverlaps and MaxRangeReversals to accomodate
more control over acceptable Range headers:
See: http://trac.tools.ietf.org/wg/httpbis/trac/ticket/311
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1169756 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_core.h')
-rw-r--r-- | include/http_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/http_core.h b/include/http_core.h index 4c1da18cfe..5881d0b120 100644 --- a/include/http_core.h +++ b/include/http_core.h @@ -611,6 +611,10 @@ typedef struct { #define AP_MAXRANGES_NORANGES 0 /** Number of Ranges before returning HTTP_OK. **/ int max_ranges; + /** Max number of Range overlaps (merges) allowed **/ + int max_overlaps; + /** Max number of Range reversals (eg: 200-300, 100-125) allowed **/ + int max_reversals; } core_dir_config; |