|
8 | 8 | This module is under active development and is production ready. |
9 | 9 |
|
10 | 10 | Version |
11 | | - This document describes ngx_lua v0.5.0rc6 |
12 | | - (<https://github.com/chaoslawful/lua-nginx-module/tags>) released on 13 |
| 11 | + This document describes ngx_lua v0.5.0rc14 |
| 12 | + (<https://github.com/chaoslawful/lua-nginx-module/tags>) released on 22 |
13 | 13 | February 2012. |
14 | 14 |
|
15 | 15 | Synopsis |
@@ -55,7 +55,7 @@ Synopsis |
55 | 55 | # MIME type determined by default_type: |
56 | 56 | default_type 'text/plain'; |
57 | 57 |
|
58 | | - content_by_lua "ngx.say('Hello,world!')" |
| 58 | + content_by_lua "ngx.say('Hello,world!')"; |
59 | 59 | } |
60 | 60 |
|
61 | 61 | location /nginx_var { |
@@ -3547,9 +3547,10 @@ Nginx API for Lua |
3547 | 3547 | request it or the associated maximal idle timeout is expired. |
3548 | 3548 |
|
3549 | 3549 | The first optional argument, "timeout", can be used to specify the |
3550 | | - maximal idle timeout for the current connection. If omitted, the default |
3551 | | - setting in the lua_socket_keepalive_timeout config directive will be |
3552 | | - used. |
| 3550 | + maximal idle timeout (in milliseconds) for the current connection. If |
| 3551 | + omitted, the default setting in the lua_socket_keepalive_timeout config |
| 3552 | + directive will be used. If the 0 value is given, then the timeout |
| 3553 | + interval is unlimited. |
3553 | 3554 |
|
3554 | 3555 | The second optional argument, "size", can be used to specify the maximal |
3555 | 3556 | number of connections allowed in the connection pool for the current |
@@ -4478,6 +4479,12 @@ See Also |
4478 | 4479 | * lua-resty-redis (<http://github.com/agentzh/lua-resty-redis>) |
4479 | 4480 | library based on ngx_lua cosocket |
4480 | 4481 |
|
| 4482 | + * lua-resty-mysql (<http://github.com/agentzh/lua-resty-mysql>) |
| 4483 | + library based on ngx_lua cosocket |
| 4484 | + |
| 4485 | + * lua-resty-upload (<http://github.com/agentzh/lua-resty-upload>) |
| 4486 | + library based on ngx_lua cosocket |
| 4487 | + |
4481 | 4488 | * Routing requests to different MySQL queries based on URI arguments |
4482 | 4489 | (<http://openresty.org/#RoutingMySQLQueriesBasedOnURIArgs>) |
4483 | 4490 |
|
|
0 commit comments