Skip to content

Commit 97d9162

Browse files
committed
updated docs for the 0.9.5 release.
1 parent cfc593b commit 97d9162

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ This module is under active development and is production ready.
221221
Version
222222
=======
223223

224-
This document describes ngx_lua [v0.9.4](https://github.com/chaoslawful/lua-nginx-module/tags) released on 10 January 2014.
224+
This document describes ngx_lua [v0.9.5](https://github.com/chaoslawful/lua-nginx-module/tags) released on 12 March 2014.
225225

226226
Synopsis
227227
========
@@ -3603,7 +3603,7 @@ ngx.exit(501)
36033603

36043604
Note that while this method accepts all [HTTP status constants](#http-status-constants) as input, it only accepts `NGX_OK` and `NGX_ERROR` of the [core constants](#core-constants).
36053605

3606-
It is recommended, though not necessary (for contexts other than [header_filter_by_lua](#header_filter_by_lua), to combine the `return` statement with this call, i.e., `return ngx.exit(...)`, to give a visual hint to others reading the code.
3606+
It is recommended, though not necessary (for contexts other than [header_filter_by_lua](#header_filter_by_lua)), to combine the `return` statement with this call, i.e., `return ngx.exit(...)`, to give a visual hint to others reading the code.
36073607

36083608
When being used in the context of [header_filter_by_lua](#header_filter_by_lua), `ngx.exit()` is an asynchronous operation and will return immediately. This behavior might change in the future. So always use `return` at the same time, as suggested above.
36093609

@@ -6408,7 +6408,7 @@ Nginx Compatibility
64086408
===================
64096409
The latest module is compatible with the following versions of Nginx:
64106410

6411-
* 1.5.x (last tested: 1.5.8)
6411+
* 1.5.x (last tested: 1.5.11)
64126412
* 1.4.x (last tested: 1.4.4)
64136413
* 1.3.x (last tested: 1.3.11)
64146414
* 1.2.x (last tested: 1.2.9)
@@ -6442,9 +6442,9 @@ Build the source with this module:
64426442

64436443
```bash
64446444

6445-
wget 'http://nginx.org/download/nginx-1.5.8.tar.gz'
6446-
tar -xzvf nginx-1.5.8.tar.gz
6447-
cd nginx-1.5.8/
6445+
wget 'http://nginx.org/download/nginx-1.5.11.tar.gz'
6446+
tar -xzvf nginx-1.5.11.tar.gz
6447+
cd nginx-1.5.11/
64486448

64496449
# tell nginx's build system where to find LuaJIT 2.0:
64506450
export LUAJIT_LIB=/path/to/luajit/lib

doc/HttpLuaModule.wiki

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This module is under active development and is production ready.
1010

1111
= Version =
1212

13-
This document describes ngx_lua [https://github.com/chaoslawful/lua-nginx-module/tags v0.9.4] released on 10 January 2014.
13+
This document describes ngx_lua [https://github.com/chaoslawful/lua-nginx-module/tags v0.9.5] released on 12 March 2014.
1414

1515
= Synopsis =
1616
<geshi lang="nginx">
@@ -2992,7 +2992,7 @@ Number literals can be used directly as the argument, for instance,
29922992
29932993
Note that while this method accepts all [[#HTTP status constants|HTTP status constants]] as input, it only accepts <code>NGX_OK</code> and <code>NGX_ERROR</code> of the [[#core constants|core constants]].
29942994
2995-
It is recommended, though not necessary (for contexts other than [[#header_filter_by_lua|header_filter_by_lua]], to combine the <code>return</code> statement with this call, i.e., <code>return ngx.exit(...)</code>, to give a visual hint to others reading the code.
2995+
It is recommended, though not necessary (for contexts other than [[#header_filter_by_lua|header_filter_by_lua]]), to combine the <code>return</code> statement with this call, i.e., <code>return ngx.exit(...)</code>, to give a visual hint to others reading the code.
29962996
29972997
When being used in the context of [[#header_filter_by_lua|header_filter_by_lua]], <code>ngx.exit()</code> is an asynchronous operation and will return immediately. This behavior might change in the future. So always use <code>return</code> at the same time, as suggested above.
29982998
@@ -5432,7 +5432,7 @@ On a ThinkPad T400 2.80 GHz laptop, the Hello World example readily achieves 28k
54325432
= Nginx Compatibility =
54335433
The latest module is compatible with the following versions of Nginx:
54345434
5435-
* 1.5.x (last tested: 1.5.8)
5435+
* 1.5.x (last tested: 1.5.11)
54365436
* 1.4.x (last tested: 1.4.4)
54375437
* 1.3.x (last tested: 1.3.11)
54385438
* 1.2.x (last tested: 1.2.9)
@@ -5459,9 +5459,9 @@ Alternatively, ngx_lua can be manually compiled into Nginx:
54595459
Build the source with this module:
54605460
54615461
<geshi lang="bash">
5462-
wget 'http://nginx.org/download/nginx-1.5.8.tar.gz'
5463-
tar -xzvf nginx-1.5.8.tar.gz
5464-
cd nginx-1.5.8/
5462+
wget 'http://nginx.org/download/nginx-1.5.11.tar.gz'
5463+
tar -xzvf nginx-1.5.11.tar.gz
5464+
cd nginx-1.5.11/
54655465
54665466
# tell nginx's build system where to find LuaJIT 2.0:
54675467
export LUAJIT_LIB=/path/to/luajit/lib

0 commit comments

Comments
 (0)