Mercurial > hg > nginx
view auto/stubs @ 7569:80359395b345
HTTP/2: traffic-based flood detection.
With this patch, all traffic over an HTTP/2 connection is counted in
the h2c->total_bytes field, and payload traffic is counted in
the h2c->payload_bytes field. As long as total traffic is many times
larger than payload traffic, we consider this to be a flood.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 18 Sep 2019 20:28:12 +0300 |
parents | d620f497c50f |
children |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. have=NGX_SUPPRESS_WARN . auto/have have=NGX_SMP . auto/have