Граф коммитов

575 Коммитов

Автор SHA1 Сообщение Дата
Yichun Zhang (agentzh) 6169a191d1 documented the 5th optional argument, "res_table", for ngx.re.match(). 2014-01-10 15:13:54 -08:00
Yichun Zhang (agentzh) eb43c9c7de doc: fixed the year. it is 2014 now :) 2014-01-10 15:01:46 -08:00
Yichun Zhang (agentzh) 388094027a updated docs to reflect recent changes. 2014-01-10 14:56:00 -08:00
Yichun Zhang (agentzh) a4323aab82 shdict: improved the error handling a bit and also increased the tests' code coverage. 2014-01-04 19:58:30 -08:00
Yichun Zhang (agentzh) c50f3cd3cc doc: documented that the coroutine.* API can be used in init_by_lua since 0.9.2. thanks Ruoshan Huang for the reminder. 2013-12-30 11:49:15 -08:00
Yichun Zhang (agentzh) 4f2b35ddbe doc: bumped version to 0.9.3 and also stated that we work with nginx 1.4.4. 2013-12-14 13:29:06 -08:00
Yichun Zhang (agentzh) 31e2212797 doc: documented the new behavior regarding zero-delay timers upon nginx worker process exiting. 2013-12-11 17:40:44 -08:00
Yichun Zhang (agentzh) 6e4a22b523 doc: documented the ngx.worker.exiting() API. 2013-12-11 17:33:57 -08:00
Yichun Zhang (agentzh) 02abcec8a6 doc: minor formatting fixes in the markdown version. 2013-12-11 11:46:36 -08:00
Yichun Zhang (agentzh) 4eade06890 doc: tweaked the wording for lua_code_cache a bit more. 2013-12-01 18:58:53 -08:00
Yichun Zhang (agentzh) 80944815ab doc: updated the docs for lua_code_cache to reflect recent changes. 2013-11-30 15:01:24 -08:00
Yichun Zhang (agentzh) 5d7e08ce01 documented the new "nth" argument for ngx.re.find. 2013-11-26 19:48:05 -08:00
Yichun Zhang (agentzh) 014de9d9b6 doc: typo fix from Zheng Ping. 2013-11-25 11:13:59 -08:00
Yichun Zhang (agentzh) e5f63816bf doc: more formatting tweaks. 2013-11-22 13:44:39 -08:00
Yichun Zhang (agentzh) 55623aca75 doc: fixed regressions in the markdown version. 2013-11-22 13:39:12 -08:00
Yichun Zhang (agentzh) f5b78fc808 doc: markdown: removed unnecessary indentation from code samples. 2013-11-22 13:30:49 -08:00
Yichun Zhang (agentzh) 159be4c9b8 doc: documented how to link against a static library (or object file archive) consisting of (many) compiled Lua module files. 2013-11-22 13:27:33 -08:00
Yichun Zhang (agentzh) 736fce1ad4 doc: added new section "Statically Linking Pure Lua Modules". 2013-11-19 20:46:33 -08:00
Yichun Zhang (agentzh) 5cb9d9d48c doc: mention LuaJIT 2.1 wherever we mention LuaJIT 2.0. 2013-11-19 20:13:06 -08:00
Yichun Zhang (agentzh) 86a08bab42 documented the new ngx.config.nginx_version and ngx.config.ngx_lua_version API. 2013-11-15 12:53:31 -08:00
Yichun Zhang (agentzh) 93bc3c505a updated docs to reflect the new support for loading LuaJIT 2.1 bytecode directly. 2013-11-12 17:30:08 -08:00
Yichun Zhang (agentzh) d516e4e31a bumped version to 0.9.2. 2013-11-06 12:05:58 -08:00
Yichun Zhang (agentzh) 229a22142c documented the new ngx.config.prefix() API function. 2013-11-06 11:45:47 -08:00
Yichun Zhang (agentzh) 1bedc5d4c8 ngx.re.find now returns a single nil value when no match is found. 2013-11-05 14:55:52 -08:00
Yichun Zhang (agentzh) 2d6cf5c7f9 documented the new ngx.re.find API function. 2013-11-05 13:46:37 -08:00
Yichun Zhang (agentzh) f5944933b9 updated docs to reflect recent changes. 2013-11-04 16:00:52 -08:00
Yichun Zhang (agentzh) c99ebeb4de documented the new lua_use_default_type directive. 2013-10-29 12:58:35 -07:00
Yichun Zhang (agentzh) a95851bb18 doc: updated the docs for ngx.req.socket(raw) to reflect the recent change that allows reading raw request body data directly. 2013-10-29 12:05:54 -07:00
Yichun Zhang (agentzh) b6715395c0 doc: bumped version to 0.9.1; also added a new section "System Environment Variable Support". 2013-10-29 11:59:50 -07:00
Yichun Zhang (agentzh) db87600eba doc: added language syntax highlighting to the markdown version. 2013-10-26 22:22:15 -07:00
Yichun Zhang (agentzh) dad8ba3ab8 doc: fixed the context for the lua_package_path and lua_package_cpath directives. thanks duhoobo for the report in #297. 2013-10-17 23:20:31 -07:00
Yichun Zhang (agentzh) 45319bfe5e doc: markdown: added lots of "Back to TOC" links to each sections but the beginning ones. 2013-10-17 13:53:55 -07:00
Yichun Zhang (agentzh) 71d42c6d93 doc: markdown: added a "Table of Contents". 2013-10-17 13:43:05 -07:00
Yichun Zhang (agentzh) b22569669e docs: markdown: made the module name more readable. 2013-10-16 16:52:14 -07:00
Yichun Zhang (agentzh) d8c8e86c0f docs: markdown: fixed more external links that still point to wiki.nginx.org. 2013-10-16 16:43:53 -07:00
Yichun Zhang (agentzh) f026151f09 docs: markdown: fixed links that were pointing to wiki.nginx.org, wherever possible. 2013-10-16 16:28:44 -07:00
Yichun Zhang (agentzh) 70ecf928f8 docs: fixed the links in the markdown source. now they no longer point to the (broken) nginx wiki site. 2013-10-16 15:26:15 -07:00
Yichun Zhang (agentzh) bc43c4367a docs: added more explanation on subrequests' request body handling. thanks Jędrzej Nowak for the suggestion. 2013-10-06 16:19:46 -07:00
Yichun Zhang (agentzh) 2063a94b2b docs: bumped version to 0.9.0 and mentioned lua-resty-websocket and lua-resty-lock. 2013-09-29 20:39:13 -07:00
Yichun Zhang (agentzh) eabadd9b22 docs: documented the new ngx.req.socket(true) API, upon which fancy protocols like WebSocket can be implemented. 2013-09-27 13:28:43 -07:00
Yichun Zhang (agentzh) 42567bd245 docs: made the "Test Suite" section up to date (I hope). 2013-09-25 15:03:52 -07:00
Yichun Zhang (agentzh) e78dea9e0f bumped version to 0.8.10. 2013-09-22 14:52:32 -07:00
Yichun Zhang (agentzh) db35efd18d docs: documented more limitations in the current implementation. 2013-09-19 12:27:05 -07:00
Yichun Zhang (agentzh) a98ff5f802 docs: avoided using module() and also recommended the lua-releng tool to locate misuse of Lua globals. 2013-09-18 12:13:43 -07:00
Yichun Zhang (agentzh) a641101a5e bumped version to 0.8.9. 2013-09-15 13:46:28 -07:00
Yichun Zhang (agentzh) 5b7c567cb6 documented the "always_forward_body" option for ngx.location.capture() and ngx.location.capture_multi(). 2013-09-08 16:51:32 -07:00
Yichun Zhang (agentzh) 4c6dc4f7a2 updated docs to reflect recent changes. 2013-09-08 16:15:54 -07:00
Yichun Zhang (agentzh) 138bc9d912 documented the new ngx.config.debug API and also updated docs to reflect other recent changes. 2013-09-02 12:58:33 -07:00
Yichun Zhang (agentzh) 940429a5c6 bumped version to 0.8.6. 2013-08-06 16:21:39 -07:00
Yichun Zhang (agentzh) 87a4f346b8 documented the new "get_stale" method for shdict objects. 2013-08-01 18:07:00 -07:00
Yichun Zhang (agentzh) 424232deb9 updated docs to reflect recent changes. 2013-08-01 18:00:00 -07:00
Yichun Zhang (agentzh) 0d81430914 bumped version to 0.8.5. 2013-07-18 12:53:33 -07:00
Yichun Zhang (agentzh) 4516e5adf9 docs: documented the memory freeing behavior of shdict:flush_all and shdict:flush_expired. 2013-07-17 12:31:15 -07:00
Yichun Zhang (agentzh) f36a35d39f documented the lua_regex_match_limit directive. 2013-07-16 21:46:48 -07:00
Yichun Zhang (agentzh) 8708f604f5 docs: typo fixes in the code sample for body_filter_by_lua. thanks cyberty for reporting this issue as #261. 2013-07-15 12:31:03 -07:00
Yichun Zhang (agentzh) 4656a290b3 docs: bumped version to 0.8.4; also mentioned Nginx Systemtap Toolkit. 2013-07-10 23:09:09 -07:00
Yichun Zhang (agentzh) fe27fc2a4c updated README.markdown to reflect recent changes in docs. 2013-07-01 19:03:42 -07:00
Yichun Zhang (agentzh) d8aa2fedac updated docs to reflect recent changes. 2013-06-20 16:02:01 -07:00
agentzh (Yichun Zhang) 39151875d7 updated docs to reflect recent changes. 2013-05-23 12:21:18 -07:00
agentzh (Yichun Zhang) 41e3c2f5b9 docs: documented the new WebDAV request methods; also fixed a small typo. 2013-05-07 13:01:29 -07:00
agentzh (Yichun Zhang) e7dff1b301 updated the docs in plain text and markdown format to reflect recent changes. 2013-04-26 12:41:21 -07:00
agentzh (Yichun Zhang) 7695a31e04 documented the new "U" regex option for the ngx.re API. 2013-04-24 16:29:12 -07:00
agentzh (Yichun Zhang) 2aa12ab3df bumped version to 0.8.0. 2013-04-23 12:29:14 -07:00
agentzh (Yichun Zhang) 656551e618 documented ngx.timer.at, lua_max_pending_timers, lua_max_running_timers, and other recent changes. 2013-04-22 17:18:47 -07:00
agentzh (Yichun Zhang) f081f212d3 bumped version to 0.7.21. 2013-04-16 16:17:17 -07:00
agentzh (Yichun Zhang) a414691b8e updated docs to reflect recent changes. 2013-04-09 16:59:46 -07:00
agentzh (Yichun Zhang) d4b8c7d84e bumped version to 0.7.19. 2013-03-27 12:41:19 -07:00
agentzh (Yichun Zhang) 5193cff298 updated docs to reflect recent changes. 2013-03-24 22:15:48 -07:00
agentzh (Yichun Zhang) 4751625f89 Merge branch 'ngx-re-no-exceptions' 2013-03-20 17:06:05 -07:00
agentzh (Yichun Zhang) 3ea32c9693 api-change: the ngx.re.match, ngx.re.gmatch, ngx.re.sub, and ngx.re.gsub functions used to throw Lua exceptions aggressively for all the error conditions; now they return an additonal string describing the error for almost all common errors instead of throwing exceptions, including pcre compile-time and exec-time failures. thanks Matthieu Tourne for requesting this change. 2013-03-17 20:16:05 -07:00
agentzh (Yichun Zhang) 17b349e972 feature: added new methods safe_set and safe_get to ngx.shared.DICT objects, which never override existing unexpired items but immediately return nil and a "no memory" string message when running out of storage. thanks Matthieu Tourne for requesting this. 2013-03-17 17:16:18 -07:00
agentzh (Yichun Zhang) a768a65b25 updated docs to reflect recent changes; also bumped the version number to 0.7.17. 2013-03-11 12:23:08 -07:00
agentzh (Yichun Zhang) 53a46aaef9 docs: made it explicit that redirecting to external domains is also supported in ngx.redirect(). thanks Ron Gomes for asking. 2013-03-06 17:17:52 -08:00
agentzh (Yichun Zhang) c95456c872 feature: implemented the ngx.req.raw_header() function for returning the original raw HTTP protocol header string received by Nginx. thanks Matthieu Tourne for requesting this. 2013-03-06 17:14:12 -08:00
agentzh (Yichun Zhang) 89861df1c3 feature: implemented ngx.req.http_version() that returns the HTTP version number for the current request. thanks Matthieu Tourne for requesting this. 2013-03-05 15:59:57 -08:00
agentzh (Yichun Zhang) e30ea025c3 updated docs to reflect recent changes. 2013-02-22 22:43:34 -08:00
agentzh (Yichun Zhang) 57a6471bf1 updated docs to reflect recent changes; also bumped version to 0.7.15. 2013-02-12 21:59:26 -08:00
agentzh (Yichun Zhang) d931db4573 bumped version to 0.7.14. 2013-01-28 16:37:30 -08:00
agentzh (Yichun Zhang) 5af60191ef updated docs to reflect recent changes. 2013-01-26 20:06:53 -08:00
agentzh (Yichun Zhang) 7422139777 bugfix: recent versions of ngx_lua failed to compile with old PCRE versions like 6.6 due to the "D" and "J" regex options; now these two regex options require at least PCRE 8.12. thanks Wenhua Zhang for reporting this issue. 2013-01-25 11:48:32 -08:00
agentzh (Yichun Zhang) 22cf24c3f2 minor documentation tweaks. 2013-01-24 11:49:53 -08:00
agentzh (Yichun Zhang) 07d4873968 feature: implemented the "J" regex option for the PCRE Javascript compatible mode in the ngx.re API. thanks lhmwzy for requesting this. 2013-01-24 11:48:51 -08:00
agentzh (Yichun Zhang) a6d8faf2bb feature: implemented named subpatterns for ngx.re.match, ngx.re.gmatch, ngx.re.sub, and ngx.re.gsub; also added new regex option "D" to allow duplicate named subpatterns. thanks Ray Bejjani for the patch in github pull #182. 2013-01-23 18:26:58 -08:00
agentzh (Yichun Zhang) c8c5688397 docs: documented the ngx.quote_sql_str API. also updated the docs for body_filter_by_lua* regarding the "eof" argument in subrequests. 2013-01-23 17:39:51 -08:00
agentzh (Yichun Zhang) 93e0e2929f docs: bumped version to 0.7.13. 2013-01-03 16:55:34 -08:00
agentzh (Yichun Zhang) 87d109fce3 docs: bumped version to 0.7.12. 2012-12-29 21:29:42 -08:00
agentzh (Yichun Zhang) d3280ab61b docs: typo in the code sample for tcpsock:receiveuntil. thanks Yecheng Fu for the patch in github pull #196. 2012-12-27 20:41:26 -08:00
agentzh (Yichun Zhang) 58e14a62f5 bumped version to 0.7.11. 2012-12-27 17:37:11 -08:00
agentzh (Yichun Zhang) d3c0f25469 docs: fixed a typo in the Lua code sample for ngx.re.gmatch (we forgot to add "do" there). thanks Guo Yin for reporting this issue. 2012-12-26 17:15:57 -08:00
agentzh (Yichun Zhang) b802870d70 docs: declared compatibility with nginx 1.2.6; also bumped version to 0.7.10. 2012-12-25 21:51:53 -08:00
agentzh (Yichun Zhang) cf18fcbbb6 docs: explained why "local foo = require 'foo'" is required to load a Lua module. thanks rkearsley for asking. 2012-12-23 14:37:43 -08:00
agentzh (Yichun Zhang) 362fcfe460 documented the request body automatic inheritance behavior in ngx.location.capture; also bumped version to 0.7.9. 2012-12-22 22:58:51 -08:00
agentzh (Yichun Zhang) eb3a36bb48 updated docs to reflect recent changes. 2012-12-10 12:27:47 -08:00
agentzh (Yichun Zhang) d4eb39b40e bumped version to 0.7.8. 2012-12-08 23:39:19 -08:00
agentzh (Yichun Zhang) 94d950eed7 bumped version to 0.7.7. 2012-12-08 00:06:42 -08:00
agentzh (Yichun Zhang) 614d6a6ef0 updated the docs for ngx.req.start_time and ngx.now a bit. 2012-12-06 21:06:52 -08:00
agentzh (Yichun Zhang) 5768a6824d feature: added ngx.req.start_time() to return the request starting time in seconds (the milliseconds part is the decimal part just as in ngx.now). thanks Matthieu Tourne for the patch. 2012-12-06 18:15:41 -08:00
agentzh (Yichun Zhang) e3d3ec3f58 added more docs regarding using ngx.exit() to abort pending subrequests in other "light threads" and setting ngx.status after sending out the response headers. 2012-12-05 21:15:25 -08:00
agentzh (Yichun Zhang) cc57703fbf updated docs to reflect recent changes. 2012-12-05 15:24:58 -08:00
agentzh (Yichun Zhang) 9ad04360ce ported all the documentation tweaks from the nginx wiki site. 2012-11-27 23:00:50 -08:00
agentzh (Yichun Zhang) ca262cb466 bumped version to 0.7.5. 2012-11-20 14:57:52 -08:00
agentzh (Yichun Zhang) 1a44b73fa6 updated docs to eliminate use of package.seeall in code samples and also to explicitly discourage the use of it. 2012-11-12 11:50:57 -08:00
agentzh (Yichun Zhang) a55fd25065 documented the special case that client closes the connection before ngx.req.socket() finishes reading the whole body. 2012-11-11 17:40:31 -08:00
agentzh (Yichun Zhang) fc4391e072 documented lua_check_client_abort and ngx.on_abort; also bumped version to 0.7.4. 2012-11-11 12:35:00 -08:00
agentzh (Yichun Zhang) 7b1f3323a2 documented the new shdict:get_keys() API. also bumped version to 0.7.3. 2012-10-30 17:12:17 -07:00
agentzh (Yichun Zhang) e607b639be bumped version to 0.7.2. 2012-10-17 15:20:37 -07:00
agentzh (Yichun Zhang) db2d5310b3 docs: massive wording improvements from Dayo. also bumped version to 0.7.1. 2012-10-13 20:02:59 -07:00
agentzh (Yichun Zhang) 7ee528b203 docs: documented the new ngx.thread API. also fixed the __newindex metamethod definition for catching writes to undeclared global varaibles in a Lua module. 2012-10-10 17:26:54 -07:00
agentzh (Yichun Zhang) 1690add7f8 docs: added a warning for ngx.var.VARIABLE that memory is allocated in the per-request memory pool. also made it clear why "return" is recommended to be used with ngx.exit(). thanks Antoine. 2012-10-10 15:06:25 -07:00
agentzh (Yichun Zhang) 73d8dd231b bumped version to 0.6.10. 2012-10-05 19:48:53 -07:00
agentzh (Yichun Zhang) 0f66b1b337 bumped version to 0.6.9. 2012-10-02 18:08:01 -07:00
agentzh (Yichun Zhang) beb2bfff4d updated docs to reflect recent changes in ngx.req.get_headers(). 2012-10-02 14:50:06 -07:00
agentzh (Yichun Zhang) 97f4474a95 bumped version to 0.6.8. 2012-09-28 20:33:38 -07:00
agentzh (Yichun Zhang) 0b6685c20c bumped version to 0.6.7. 2012-09-26 22:10:30 -07:00
agentzh (Yichun Zhang) 377bcd3789 updated docs to reflect recent changes. 2012-09-22 12:26:06 -07:00
agentzh (Yichun Zhang) 7d5d923400 docs: fixed the documenation for ngx.req.set_header and made it explicit that the modified request headers will be inherited by the subrequests. thanks James Hurst for reporting this nit. 2012-09-20 11:42:15 -07:00
agentzh (Yichun Zhang) 66e2d98b05 docs: bumped version number to 0.6.5 and also documented the trick for doing background async jobs by using ngx.eof() + keepalive_timeout 0. 2012-09-15 13:16:22 -07:00
agentzh (Yichun Zhang) 62a0b69609 updated docs to reflect recent changes. 2012-09-13 11:46:55 -07:00
agentzh (Yichun Zhang) a7d6962c21 upgraded version to 0.6.4. 2012-09-09 21:30:41 -07:00
agentzh (Yichun Zhang) 35c1fcd04e docs: removed the note for the issues regarding "normal" state user coroutines in coroutine.resume() and coroutine.status() because we have already fixed them. 2012-08-28 16:23:33 -07:00
agentzh (Yichun Zhang) a819a192e7 docs: documented the new shdict:flush_expired() method. bumped the version to 0.6.3. also mentioned lua-resty-dns in the SEE ALSO section. 2012-08-25 23:55:22 -07:00
agentzh (Yichun Zhang) b771643dba bumped version number to 0.6.2. 2012-08-22 15:25:54 -07:00
agentzh (Yichun Zhang) e282c1c6c1 bumped version to 0.6.1. 2012-08-19 16:14:01 -07:00
agentzh (Yichun Zhang) 912707780e bumped version to 0.6.0. 2012-08-18 09:17:24 -07:00
agentzh (Yichun Zhang) ce791df20f documented the limitation in the current coroutine.resume() implementation. 2012-08-17 22:44:20 -07:00
agentzh (Yichun Zhang) 2b560d3590 documented the limitation in the current coroutine.status implementation and also included other documentation updates. 2012-08-17 22:41:16 -07:00
agentzh (Yichun Zhang) 347214c055 documented the new user coroutine API and claimed that we work with nginx 1.3.4. also updated the TODO list to reflect recent changes. 2012-08-15 15:33:40 -07:00
agentzh (章亦春) 7b363ee7b2 bumped version to 0.5.14. 2012-08-13 22:22:25 -07:00
agentzh (章亦春) a70c1e4c75 bumped version to 0.5.13. 2012-08-12 11:18:23 -07:00
agentzh (章亦春) 1efea1b3da docs: documented the new lua_socket_log_errors directive and also updated the TODO list. 2012-08-11 11:58:50 -07:00
agentzh (章亦春) 3388d424f6 updated docs to reflect recent changes, especially the new "openresty-en" mailing list for English speakers. 2012-08-04 16:56:24 -07:00
agentzh (章亦春) f0efac25b3 updated the error message in docs to reflect recent changes. 2012-07-30 21:57:17 -07:00
agentzh (章亦春) dfe6202049 bumped version to 0.5.11. 2012-07-30 21:46:33 -07:00
agentzh (章亦春) ef4a8acd75 documented that ngx.req.socket() is required to be called before ngx.req.init_body(). 2012-07-30 17:00:39 -07:00
agentzh (章亦春) db0bebedb6 documented the ngx.req.init_body, ngx.req.append_body, and ngx.req.finish_body APIs; also bumped the version number to 0.5.10. 2012-07-29 23:46:25 -07:00
agentzh (章亦春) 9b3bbf4f8c documented the ngx.get_phase() API. 2012-07-26 14:19:36 -07:00
agentzh (章亦春) bd66f77fe6 bumped version number to 0.5.9 2012-07-26 11:20:41 -07:00
agentzh (章亦春) c25689b93a updated docs and bumped version to 0.5.8. 2012-07-21 10:59:41 -07:00
agentzh (章亦春) 54c0a35490 bumped version to 0.5.7. 2012-07-14 12:32:18 -07:00
agentzh (章亦春) 24fc460b40 documented the new options table argument and the "pool" option for the tcpsock:connect() method. 2012-07-11 12:12:27 -07:00
agentzh (章亦春) 06abbea6b9 documented the UDP/datagram cosocket API. 2012-07-10 13:34:22 -07:00
agentzh (章亦春) 8b1040d259 bumped version number to 0.5.6. 2012-07-09 13:32:05 -07:00
agentzh (章亦春) 06d654b02e documented the ngx.req.get_method() and ngx.req.set_method(method_id) methods. 2012-07-08 12:17:58 -07:00
agentzh (章亦春) 80e86f5540 updated docs to reflect recent changes. 2012-07-08 11:47:50 -07:00
agentzh (章亦春) 166de0c46d updated the TODO list in docs to reflect recent changes. 2012-07-04 21:59:04 -07:00
agentzh (章亦春) 4275482f49 documented the init_by_lua* directives and also bumped version number to 0.5.5. 2012-07-04 13:41:00 -07:00
agentzh (章亦春) a96dd55152 bumped version to 0.5.4. 2012-06-28 16:05:26 -07:00
agentzh (章亦春) 538b97ae92 updated docs to reflect recent changes. 2012-06-25 11:01:51 +08:00
agentzh (章亦春) f73785c643 updated docs to reflect recent changes. 2012-06-22 14:48:34 +08:00
agentzh (章亦春) 7d6547aeb5 docs: added more documentation for the Lua/LuaJIT raw bytecode support. thanks Wayne. 2012-06-18 13:02:40 +08:00