view README @ 0:a386f95c5ae9

Initial module skeleton. Mostly based on catch body filter. Does not work yet.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 17 Aug 2021 22:51:56 +0300
parents
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.