-
Notifications
You must be signed in to change notification settings - Fork 5
/
README
71 lines (41 loc) · 1.49 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Name
ngx_massive_chunker - debug module to force output in tiny chunks.
*This module is not distributed with the Nginx source.* See the
installation instructions.
Use Case
This module is intended to be used with 2 nginx instances, one with
a proxy_pass to the other while using keepalives.
Status
This module is intended for debugging only, this shouldn't be used
in production under any circumnstances.
Synopsis
server {
location /chunks {
mass_chunk on;
mass_chunk_max_size 3;
mass_chunk_max_chunks 3;
}
}
Directives
mass_chunk
syntax: mass_chunk on|off
default: mass_chunk off
enable the massive chunking, it will split the content into separate
chunks.
mass_chunk_max_size
syntax: mass_chunk_max_size <size>
default: mass_chunk_max_size 10
configure maximum number of bytes that will be sent in a single chunk.
mass_chunk_max_chunks
syntax: mass_chunk_max_chunks <size>
default: mass_chunk_max_chunks 0
configure maximum number of chunks that will be sent in a single chain
(for local debugging) or TCP packet (for remote debugging).
Note: 0 means off, all the chunks will be sent in the same chain.
Installation
To build nginx with the massive chunker :
cd nginx
./configure --add-module=/path/to/ngx_massive_chunker
make && make install
Copyright
Copyright (C) 2011, Matthieu Tourne <[email protected]>.