Skip to content

Commit 81f1d7c

Browse files
committed
fixed typos in docs. thanks 王斌.
1 parent 6c713ea commit 81f1d7c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,8 +1524,8 @@ Nginx API for Lua
15241524
("-") and the header names will be matched case-insensitively. If the
15251525
response header is not present at all, "nil" will be returned.
15261526

1527-
This is particularly useful in the context of filter_header_by_lua and
1528-
filter_header_by_lua_file, for example,
1527+
This is particularly useful in the context of header_filter_by_lua and
1528+
header_filter_by_lua_file, for example,
15291529

15301530
location /test {
15311531
set $footer '';
@@ -3564,7 +3564,7 @@ Nginx API for Lua
35643564
to make room for the current connection.
35653565

35663566
Note that the cosocket connection pool is per Nginx worker process
3567-
rather than per Nginx server instance, so so size limit specified here
3567+
rather than per Nginx server instance, so the size limit specified here
35683568
also applies to every single Nginx worker process.
35693569

35703570
Idle connections in the pool will be monitored for any exceptional

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ Reading `ngx.header.HEADER` will return the value of the response header named `
14711471

14721472
Underscores (`_`) in the header names will also be replaced by dashes (`-`) and the header names will be matched case-insensitively. If the response header is not present at all, `nil` will be returned.
14731473

1474-
This is particularly useful in the context of [filter_header_by_lua](http://wiki.nginx.org/HttpLuaModule#filter_header_by_lua) and [filter_header_by_lua_file](http://wiki.nginx.org/HttpLuaModule#filter_header_by_lua_file), for example,
1474+
This is particularly useful in the context of [header_filter_by_lua](http://wiki.nginx.org/HttpLuaModule#header_filter_by_lua) and [header_filter_by_lua_file](http://wiki.nginx.org/HttpLuaModule#header_filter_by_lua_file), for example,
14751475

14761476

14771477
location /test {
@@ -3315,7 +3315,7 @@ The second optional argument, `size`, can be used to specify the maximal number
33153315

33163316
When the connection pool is exceeding the size limit, the least recently used (idle) connection already in the pool will be closed automatically to make room for the current connection.
33173317

3318-
Note that the cosocket connection pool is per Nginx worker process rather than per Nginx server instance, so so size limit specified here also applies to every single Nginx worker process.
3318+
Note that the cosocket connection pool is per Nginx worker process rather than per Nginx server instance, so the size limit specified here also applies to every single Nginx worker process.
33193319

33203320
Idle connections in the pool will be monitored for any exceptional events like connection abortion or unexpected incoming data on the line, in which cases the connection in question will be closed and removed from the pool.
33213321

doc/HttpLuaModule.wiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ Reading <code>ngx.header.HEADER</code> will return the value of the response hea
14281428
14291429
Underscores (<code>_</code>) in the header names will also be replaced by dashes (<code>-</code>) and the header names will be matched case-insensitively. If the response header is not present at all, <code>nil</code> will be returned.
14301430
1431-
This is particularly useful in the context of [[#filter_header_by_lua|filter_header_by_lua]] and [[#filter_header_by_lua_file|filter_header_by_lua_file]], for example,
1431+
This is particularly useful in the context of [[#header_filter_by_lua|header_filter_by_lua]] and [[#header_filter_by_lua_file|header_filter_by_lua_file]], for example,
14321432
14331433
<geshi lang="nginx">
14341434
location /test {
@@ -3207,7 +3207,7 @@ The second optional argument, <code>size</code>, can be used to specify the maxi
32073207
32083208
When the connection pool is exceeding the size limit, the least recently used (idle) connection already in the pool will be closed automatically to make room for the current connection.
32093209
3210-
Note that the cosocket connection pool is per Nginx worker process rather than per Nginx server instance, so so size limit specified here also applies to every single Nginx worker process.
3210+
Note that the cosocket connection pool is per Nginx worker process rather than per Nginx server instance, so the size limit specified here also applies to every single Nginx worker process.
32113211
32123212
Idle connections in the pool will be monitored for any exceptional events like connection abortion or unexpected incoming data on the line, in which cases the connection in question will be closed and removed from the pool.
32133213

0 commit comments

Comments
 (0)