view auto/headers @ 4035:c2a91088b0c0

Now if total size of all ranges is greater than source response size, then nginx disables ranges and returns just the source response. This fix should not affect well-behaving applications but will defeat DoS attempts exploiting malicious byte ranges.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 26 Aug 2011 09:42:50 +0000
parents 418c9f97bd01
children d620f497c50f
line wrap: on
line source


# Copyright (C) Igor Sysoev


ngx_include="unistd.h";      . auto/include
ngx_include="inttypes.h";    . auto/include
ngx_include="limits.h";      . auto/include
ngx_include="sys/filio.h";   . auto/include
ngx_include="sys/param.h";   . auto/include
ngx_include="sys/mount.h";   . auto/include
ngx_include="sys/statvfs.h"; . auto/include
ngx_include="crypt.h";       . auto/include