view README @ 3:53cbdb610633 default tip

Fixed error handling. Request body filters are not allowed to return NGX_ERROR, they are expected to use NGX_HTTP_* errors, notably NGX_HTTP_INTERNAL_SERVER_ERROR.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 26 Aug 2021 04:46:49 +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.