]> git.kaiwu.me - nginx.git/commit
HTTP/3: close connection on keepalive_requests * 2.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 29 Jul 2021 13:01:37 +0000 (16:01 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 29 Jul 2021 13:01:37 +0000 (16:01 +0300)
commite1ad576f960ab2b455b4d12869f69cb648feba42
tree75e697be3aab7793ae1db09fba34e717f2fcdd60
parentb93ae5d0670f265bec60cd616dd42b0ce96d8e2d
HTTP/3: close connection on keepalive_requests * 2.

After receiving GOAWAY, client is not supposed to create new streams.  However,
until client reads this frame, we allow it to create new streams, which are
gracefully rejected.  To prevent client from abusing this algorithm, a new
limit is introduced.  Upon reaching keepalive_requests * 2, server now closes
the entire QUIC connection claiming excessive load.
src/http/v3/ngx_http_v3_request.c