|
3abfb1fc
|
bugfix: when the ngx.on_abort() user thread was created but never run *and* s...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
1250c5bf
|
tests: use larger resolver_timeout settings.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
09e0944d
|
change: now we always iterate through all the user light threads to ensure al...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
24953436
|
doc: documented the new full-duplex stream cosocket feature.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
f408dd51
|
doc: documented the ngx.thread.kill() API function.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
0950973a
|
doc: bumped version to 0.9.9. also states that we work with nginx 1.7.2.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
f40e371b
|
Revert "refactor: we no longer call ngx_pfree() in our own pcre_free hook."
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
fcbbf523
|
tests: fixed timing issues in some of the test cases for full-duplex cosockets.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
d56a2af5
|
bugfix: fixed the initial size of the ngx.worker table and the misleading com...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
934e33e6
|
feature: cosockets are now full duplex: a reader "light thread" and a writer ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
52b76a71
|
removed some dead code from the stream cosocket implementation.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
d6bc02eb
|
bugfix: the coroutine API table introduced by require("coroutine") was not wo...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
c2e29483
|
a minor coding style fix.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
6885462e
|
feature: added new API function ngx.thread.kill() for killing a user "light t...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
9f0f9eaf
|
tests: made a test case in 124-init-worker.t less possible to fail in slow te...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
b773bcab
|
bumped version number to 0.9.9.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
fd41af2d
|
bugfix: we incorrectly overrode coctx->data before calling coctx->cleanup, wh...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
f19e27e7
|
bugfix: the coctx cleanup handler might not be called before being overidden ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
053f40e7
|
bugfix: fixed an incorrect error message. thanks doujiang for the patch in #373.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
75c98cb5
|
fixed the test plan in 058-tcp-socket.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
8fd50ad8
|
ensured that the resolver handler will not call into the dead request context.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
06b7476b
|
doc: added performance notes to the sections for ngx.var and ngx.ctx.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
7a20b077
|
doc: fixed a typo.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
ab8bd1b0
|
doc: documented the values can be passed to the timer callback function.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
73e831f0
|
bumped version to 0.9.8.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
2b721c7f
|
doc: markdown format: inlined the TOC for the long sections "Directives" and ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
c91e1f52
|
doc: moved the "Directives" and "Nginx API for Lua" sections to the end becau...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
a9e0111f
|
doc: moved important sections to the front. thanks Pierre-Yves Gérardy for th...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
91e3307f
|
use ngx_http_lua_assert() instead of plain assert() across the code base.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
ec2498a8
|
added assertions to the coroutine scheduler to ensure that we do not pop or p...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
5318f3a6
|
merge
resolved merge conflicts.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
d3ab0edd
|
bugfix: ngx.req.set_method(): we incorrectly modified r->method when the meth...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
31e00155
|
feature: added a pure C API function for FFI-based implementations of ngx.req...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
3a01812d
|
feature: added a pure C API function for FFI implementations of shdict:flush_...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
62b2ac5c
|
feature: added pure C API function for FFI-based implementations of ngx.req.s...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
f9ce770d
|
feature: added pure C API functions for FFI-based implementations of ngx.req....
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
1c3a8416
|
Revert "optimize: use lua_pushinteger instead of lua_pushnumber in ngx_http_l...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
9bb1f358
|
the "int" return type of ngx_http_lua_ffi_time might lead to data loss. thank...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
e9b8563c
|
optimize: use lua_pushinteger instead of lua_pushnumber in ngx_http_lua_ngx_t...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
99e5171c
|
renamed ngx_http_lua_ffi_ngx_now to ngx_http_lua_ffi_now.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
d9fff3b7
|
feature: added pure C API function ngx_http_lua_ffi_time for FFI-based implem...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
8666424d
|
fixed the wrong return type of the ngx_http_lua_ffi_req_start_time function i...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
50dbfcef
|
feature: added pure C API function ngx_http_lua_ffi_req_start_time for FFI-ba...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
34ab51f8
|
updated tests to reflect recent changes in rewrite_by_lua* and access_by_lua*.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
4f0be44f
|
doc: added more explanation for some user FAQs.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
ec78bf10
|
fixed a source line exceeding 80 cols.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
32960150
|
minor doc love.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
93832364
|
merge
change: rewrite_by_lua* will now terminate the current request if the respons...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
a1ea105f
|
change: access_by_lua* will now terminate the current request if the response...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
c478f41e
|
change: access_by_lua* will now terminate the current request if the response...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
b438f972
|
feature: now we save the original pattern string pointer value into our ngx_h...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
7f184ec4
|
feature: now we save the original pattern string pointer value into our ngx_h...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
fb5f9754
|
feature: attempt to allow use of 3rd-party pcre bindings in init_by_lua*. tha...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
cae72592
|
added a fix for the leftover cases in commit b57d60d4c9d
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c178302b
|
updated the test index in 109-timer-hup.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
0a11b402
|
feature: added pure C API function, ngx_http_lua_ffi_ngx_now, for FFI-based i...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
0a845986
|
126-shdict-frag.t: force a full GC cycle at the end of the Lua handler to hel...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
a43bca8d
|
fixed the wait time for slow testing mode.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
eb4f9867
|
126-shdict-frag.t: increased the timeout threshold.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
0f68763d
|
bugfix: nginx does not guarentee the parent pointer of the rbtree root is mea...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
a2dee0c6
|
added more code comments to the timer implementation.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
af2d3570
|
added a (passing) fuzz testing for aborting many pending timers.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
3b3239c2
|
added (passing) tests for yielding failures in cosocket DNS resolving.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5d614b09
|
added a (passing) fuzz test case for shdict.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
b57d60d4
|
bugfix: we did not call our coroutine cleanup handlers right after our corout...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
509bb981
|
removed an obsolete code comment.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
ed1eb4f7
|
bugfix: the ngx.ctx table might be released prematurely when ngx.exit() was u...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
f7443edc
|
fixed the test index in 126-shdict-frag.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
373376ce
|
try to make a test case for shdict fragmentation pass on i386.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
fa83bb5f
|
added tests for exercising the memory fragmentation issue in nginx's built-in...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
d8c45b87
|
feature: make use of the new shm API in nginx 1.5.13+ to suppress the "no mem...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
ae2207bf
|
bumped version to 0.9.8.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
12558640
|
feature: added C macro NGX_LUA_ABORT_AT_PANIC to allow generating a core dump...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
506728da
|
doc: fixed the links to ngx_rewrite in the "set_by_lua" section.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
39d3e74c
|
updated docs to reflect recent changes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
6c555ed5
|
bugfix: bugs in the error handling for pure C API functions for shared dict. ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c11ceb40
|
updated the tests to reflect the new openresty server at agentzh.org.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
b111180c
|
added a (passing) test case for reading ngx.header in the context of log_by_lua.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c1ee08e8
|
merge
Merge pull request #359 from cubicdaiya/issues/use_ngx_str_null
|
Yichun Zhang <a****h@g****m>
|
over 12 years ago
|
|
|
0d48124c
|
added a (passing) test for timeout error on tcpsock:receive(N).
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
0375856d
|
use ngx_str_null
|
cubicdaiya <c****a@g****m>
|
over 12 years ago
|
|
|
e52a2631
|
doc: now we have tested with nginx 1.5.12; also put the 0.9.7 release date.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
40691f40
|
Revert "added assertions for the pcre pool management."
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
1117f043
|
merge
Merge pull request #355 from lhmwzy/master
|
Yichun Zhang <a****h@g****m>
|
over 12 years ago
|
|
|
8192b974
|
Update ngx_http_lua_string.c
|
lhmwzy <l****y@g****m>
|
over 12 years ago
|
|
|
4e284f73
|
bumped version to 0.9.7.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5c271800
|
added assertions for the pcre pool management.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5c788b8b
|
refactor: we no longer call ngx_pfree() in our own pcre_free hook.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
988ac5d8
|
bugfix: when lua_code_cache was off, cosocket:setkeepalive() might lead to se...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
f08bddcc
|
suppressed a false positive in libdl.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
3f7e04cf
|
made a test case less likely to fail on slow machines.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
cbf054f1
|
made a test case less likely to fail on slow machines.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
01cd00c4
|
merge
Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
8542d436
|
refactor: improved the error handling and logging in the Lua code loader and ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5719c60c
|
merge
Merge pull request #351 from cubicdaiya/issues/use_luapushliteral
|
Yichun Zhang <a****h@g****m>
|
over 12 years ago
|
|
|
f07a55b2
|
use lua_pushliteral instead of lua_pushlstring
|
cubicdaiya <c****a@g****m>
|
over 12 years ago
|
|
|
bbb7e05d
|
added stronger assertions to the stream-typed cosocket implementation.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5d4afab7
|
optimize: we no longer clear "ctx->user_co_ctx" in ngx_http_lua_reset_ctx.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
bec802ea
|
bumped version to 0.9.6.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
e5eefed3
|
updated docs to reflect the change in commit 382c7201.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|