Mercurial > hg > nginx-quic
view auto/nohave @ 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 | 42d11f017717 |
children | d620f497c50f |
line wrap: on
line source
# Copyright (C) Igor Sysoev cat << END >> $NGX_AUTO_CONFIG_H #ifndef $have #define $have 0 #endif END