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

64 Коммитов

Автор SHA1 Сообщение Дата
Yichun Zhang (agentzh) 6b558cd4bd feature: implemented the *_by_lua_block {...} directives that do not require extra escaping when inlining Lua code in nginx.conf. 2015-09-26 20:25:36 +08:00
Yichun Zhang (agentzh) 356661d6b3 feature: added new configuration directive, init_worker_by_lua, to run Lua code upon nginx worker process startup. 2014-01-11 21:52:33 -08:00
Yichun Zhang (agentzh) 81daa53565 updated .gitignore a bit. 2014-01-11 18:28:12 -08:00
Yichun Zhang (agentzh) a442980372 updated .gitignore a bit. 2013-11-04 23:01:39 -08:00
agentzh (Yichun Zhang) cf4f62a620 updated .gitignore a bit. 2013-06-10 16:33:14 -07:00
agentzh (Yichun Zhang) 3052bcd8a3 updated .gitignore a bit. 2013-04-24 17:57:48 -07:00
agentzh (Yichun Zhang) 069f07541d feature: when the nginx worker process is quitting (as in server shutdown or HUP reload), all the pending ngx.timer timers expire immediately and their Lua callbacks get called with a true value as the first argument (to indicate whether it is a premature expiration or not). 2013-04-11 23:59:48 -07:00
agentzh (Yichun Zhang) 2ac8d89439 feature: added new Lua API, ngx.timer.at(time, callback), for defining timers that can run the user callback as a Lua "light thread" (detached from the current request) after the time (in seconds) specified. also added new configure directives lua_max_pending_timers and lua_max_running_timers for limiting the number of pending timers and "running" timers. 2013-04-01 23:36:50 -07:00
agentzh (Yichun Zhang) ee02a8ca07 updated .gitignore a bit. 2012-09-24 12:27:11 -07:00
agentzh (Yichun Zhang) 6d854044cf feature: first prototype for the ngx.thread API (aka the lightweight thread API for ngx_lua) that passes the first bunch of tests. 2012-09-22 01:31:13 -07:00
agentzh (Yichun Zhang) 73faa581d8 added more tests for bad upstream in subrequests. 2012-09-09 12:57:35 -07:00
agentzh (Yichun Zhang) 46a3c3d524 updated .gitignore a bit. 2012-09-05 17:40:19 -07:00
agentzh (Yichun Zhang) 4e5cb24490 bugfix: there was no proper error messages when we tried to resume running coroutines. bugfix: there was error logs for resuming dead user coroutines, which was too chatty. 2012-08-17 21:51:43 -07:00
agentzh (章亦春) 6f402674bd merged branch "master" into "coroutine". 2012-08-06 17:08:07 -07:00
agentzh (章亦春) 28a022db22 updated .gitignore to reflect recent changes. 2012-07-26 12:03:38 -07:00
agentzh (章亦春) a624ee9482 updated .gitignore a bit. 2012-07-19 11:36:24 -07:00
Wang Xiaozhe 927ef1e86a Merge branch 'master' into coroutine 2012-07-11 11:44:28 +08:00
Wang Xiaozhe 1a8bd0f141 merge with master 2012-07-10 15:30:13 +08:00
agentzh (章亦春) 42d9617e82 merged branch "master" to "udp-socket". 2012-07-06 16:57:00 -07:00
agentzh (章亦春) e9a74f68bb feature: implemented the UDP cosocket API, ngx.socket.udp(). 2012-07-06 16:53:18 -07:00
agentzh (章亦春) e9d5d601a3 feature: added new Nginx API for Lua: ngx.req.set_method(method_id) and ngx.req.get_method. thanks Matthieu Tourne for suggesting these. 2012-07-05 14:33:52 -07:00
Wang Xiaozhe bb7d35eaa4 merge master and jinglong's commit 2012-07-03 17:42:49 +08:00
agentzh (章亦春) f4a15e29ad feature: added new directives init_by_lua and init_by_lua_file. 2012-07-01 23:11:21 -07:00
agentzh (章亦春) 418024960d updated .gitignore. 2012-06-29 17:59:07 -07:00
agentzh (章亦春) 9bcb50325f feature: initial cut on the body_filter_by_lua and body_filter_by_lua_file directives. 2012-06-12 14:17:55 +08:00
Wang Xiaozhe b79953e0ed fix merge conflict 2012-06-11 10:00:12 +08:00
agentzh (章亦春) c8063a8bb7 updated .gitignore again. 2012-06-07 22:39:18 +08:00
agentzh (章亦春) cd825f51cf updated .gitignore. 2012-06-07 22:38:50 +08:00
agentzh (章亦春) ab5069e5d6 merged branch "master" into "logby". 2012-05-30 14:38:18 +08:00
agentzh (章亦春) 5a55dd6f42 bugfix: fixed various issues in jinglong's patch for adding ngx.sleep() in github pull request #120. 2012-05-28 22:28:40 +08:00
Wang Xiaozhe 0782f475c7 merged from master 2012-05-25 17:09:52 +08:00
agentzh (章亦春) 447c7488b3 fixed some coding style issues in Matthieu Tourne's patch for log_by_lua* and also added a simple test for log_by_lua. 2012-05-24 17:08:20 +08:00
agentzh (章亦春) add1a0ad8a updated .gitignore. 2012-05-06 13:41:53 +08:00
Wang Xiaozhe 9e935ee316 add skeleton of coroutine api 2012-05-04 15:06:36 +08:00
agentzh (章亦春) f5aaee3d6c updated .gitignore. 2012-04-19 14:48:31 +08:00
agentzh (章亦春) 5b2a977b37 cosocket: initial prototype for the builtin connection pool support via the new cosocket method "sock:setkeepalive()". also always reset u->length and u->rest for the "sock:receive()" method. 2012-01-27 23:51:00 +08:00
agentzh (章亦春) 17ee6b60c4 updated .gitignore. 2012-01-19 23:39:23 +08:00
agentzh (章亦春) 0e1770ac43 initial scaffold for ngx.socket.tcp(). also did minor optimization for the "ngx" table and the metatable for "ngx.shard.DICT" objects. 2011-12-15 16:40:47 +08:00
agentzh (章亦春) b71a0b52a6 resolved conflicts while merging the "master" branch to "shm". 2011-10-24 12:34:37 +08:00
agentzh (章亦春) 0f18d9936b implemented ngx.req.read_body() which does synchronous non-blocking request body reading in full buffered mode. 2011-10-17 22:10:20 +08:00
agentzh (章亦春) b77bf67fc7 first cut on the shared dict feature. 2011-10-11 17:51:54 +08:00
agentzh (章亦春) 4ad6d40e0d updated .gitignore. 2011-09-30 11:56:21 -07:00
agentzh (章亦春) ab61a0331c renamed ngx_http_lua_patch.[ch] to ngx_http_lua_pcrefix.[ch]. 2011-09-22 22:52:50 +08:00
agentzh (章亦春) 8a1367756b more refactoring of the lua hooks. 2011-09-22 22:36:49 +08:00
agentzh (章亦春) 2684f5b078 massive refactoring of the lua hooks. 2011-09-22 18:00:09 +08:00
agentzh (章亦春) cd53678b39 minor refactoring of the various lua hooks. 2011-09-21 23:11:59 +08:00
agentzh (章亦春) 2b53d74b58 renamed the old filter.c to capturefilter.c. 2011-09-01 18:34:49 +08:00
agentzh (章亦春) 16606038d5 fixed some coding style issues. 2011-09-01 17:05:53 +08:00
agentzh (章亦春) a1aae4b114 checked in util/build2.sh. 2011-09-01 13:57:47 +08:00
agentzh (章亦春) 9eda6ccc78 minor tweaks of the tests. 2011-08-26 09:38:40 +08:00