annotate 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 |
|
rev |
line source |
0
|
1 Delay body filter module for nginx.
|
|
2
|
|
3 This is a test module, to check request body filters buffering
|
|
4 mechanism to be introduced.
|
|
5
|
|
6 Example:
|
|
7
|
|
8 location / {
|
|
9 delay_body 1s;
|
|
10 }
|
|
11
|
|
12 The module will delay the request body processing for the configured time.
|
|
13
|
|
14 To compile nginx with the delay body module, use the "--add-module <path>"
|
|
15 option of nginx configure.
|