Mercurial > hg > ngx_http_delay_body_filter_module
view README @ 2:b049c3a0543e
Simplified for the code without buffered counter.
The only new flag which needs to be set is rb->filter_need_buffering,
which is mostly needed for HTTP/2, where it is not possible to delay
request body processing when flow control is not used.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 25 Aug 2021 19:36:57 +0300 |
parents | a386f95c5ae9 |
children |
line wrap: on
line source
Delay body filter module for nginx. This is a test module, to check request body filters buffering mechanism to be introduced. Example: location / { delay_body 1s; } The module will delay the request body processing for the configured time. To compile nginx with the delay body module, use the "--add-module <path>" option of nginx configure.