|
7c5e3548
|
bugfix: Lua backtrace dumps upon uncaught Lua exceptions did not work with th...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
2926596a
|
feature: now timeout errors in tcpsock:receive() and the reader returned by t...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
1a9f044d
|
now we allow application of the mockeagain reading mode to the test files tha...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
438bbca7
|
added a (passing) test for recalling the send() method on the same tcp cosock...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
75d2524b
|
added a (passing) test for recalling the connect() method on the same tcp cos...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
45f430a0
|
feature: added new option "always_forward_body" to ngx.location.capture(), wh...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
9d5bb2aa
|
refactor: made the "processing flushing coroutines" process a separate C func...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
37a50210
|
minor code refactoring to make the ngx_http_lua_wev_handler function shorter.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
29a253b5
|
Revert "bugfix: ngx.flush(true) might hang when there was a buggy output body...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
4ed6e7a5
|
bugfix: ngx.flush(true) might hang when there was a buggy output body filter....
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
539a3021
|
one minor optimization in ngx.req.socket().
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
138bc9d9
|
documented the new ngx.config.debug API and also updated docs to reflect othe...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
db7a8c90
|
feature: added new FFI C API function ngx_http_lua_ffi_var_get for reading ng...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
b6d19752
|
feature: added new FFI C API ngx_http_lua_ffi_shdict_incr for shdict:incr().
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
6473e224
|
minor coding style fixes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
e7f3b026
|
feature: added new FFI C API for shdict:get(). also we use double instead of ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
b6872934
|
bugfix: the FFI C API function ngx_http_lua_ffi_compile_regex could leak memo...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
d9400dc4
|
skipped the regex tests for checking bad data types, which cannot pass with l...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
6227668e
|
bugfix: the FFI version of the PCRE API did not generate debug logs indicatin...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
65010dd0
|
feature: added support for lua_regex_match_limit in the FFI C API function fo...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
527009f2
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
c7520492
|
optimize: fixed the initial table sizes for "ngx", "ngx.config", and "ngx.re".
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
9577e5fc
|
feature: added new API ngx.config.debug to indicate whether this is a debug b...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
021645c5
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
fdec2703
|
fixed test cases that tried to send the response header twice, which were cau...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
3e049c59
|
minor cleanup in a recently added test case.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
1e13a16b
|
minor refactoring in the closure factory.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
c9a04a9c
|
bugfix: when a Lua line comment was used in the last line of the inlined Lua ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
d9a48d86
|
bugfix: the error message for failures in loading inlined Lua code was mislea...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
a0343434
|
bugfix: ngx.exit(204) could try to send the response header for twice. nginx ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
f4c4667b
|
fixed a potential test failure in a recently added test case in 025-codecache.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
3abd78b2
|
merge
Merge branch 'master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
e549fc2d
|
feature: log_by_lua now always runs before the standard ngx_http_log_module (...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
334afb35
|
fixed a test case index number in 025-codecache.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
b3734f00
|
bugfix: the global Lua state's _G table was cleared when lua_code_cache was o...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
4042f7bd
|
bugfix: ngx.flush() triggered response header sending when the header was not...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
940429a5
|
bumped version to 0.8.6.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
2db5028a
|
bugfix: segfaults would happen in ngx.req.set_header() and ngx.req.clear_head...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
65d4b419
|
minor test fixes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
e72ab1db
|
minor coding style fixes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
c7237efd
|
made the test for shdict:get_stale less possible to fail.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
7dbd2a51
|
bugfix: reading ngx.header.location did not work when auto-redirect was in ac...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
547d2994
|
bugfix: segfault might happen when reading or writing to a response header vi...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
e0626c31
|
added tests to improve the code coverage in file ngx_http_lua_headers_out.c.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
87a4f346
|
documented the new "get_stale" method for shdict objects.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
424232de
|
updated docs to reflect recent changes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
124f50fd
|
feature: added new method "get_stale" to shared dict objects, which returns t...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
2f5ebebc
|
bugfix: the "connect() failed" error message was still logged even when lua_s...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
52f48e07
|
bugfix: we incorrectly returned 500 in our output header filter, body filter,...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
c7a52824
|
more coding style fixes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
abaa7f42
|
more coding style fixes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
e4641a3c
|
more coding style fixes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
5edc4b3f
|
one minor coding style fix. thanks Guanlan Dai.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
c6426fb5
|
fixed the test plan in t/033-ctx.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
0aa9332f
|
bugfix: we incorrectly returned 500 in our output header filter, body filter,...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
62933043
|
bugfix: memory leak would happen when using ngx.ctx before another nginx modu...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
32aadb76
|
fixed a test case.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
e24ffb75
|
bugfix: use of the ngx.ctx table in the context of ngx.timer callbacks would ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
ffe89f22
|
refactor: abstracted the ngx.ctx releasing logic to eliminate code duplication.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
00c5fb41
|
one minor coding style fix.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
6859f6f8
|
minor error message fixes in the Lua code cache.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
19733204
|
added a (passing) test for using .lua files with a shebang line in the conten...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
d1c654b3
|
bugfix: the error message was misleading when the *_by_lua_file directives fa...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
fb38e4b2
|
various coding style fixes in the closure factory.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
1db1e71f
|
refactor: removed the useless code for reading Lua code from stdin.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
fadd28a1
|
merge
Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
918f9a23
|
refactor: removed the unused C function ngx_http_lua_clfactory_loadstring.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
df35583d
|
merge
Merge pull request #262 from cubicdaiya/issues/traditional_definition
|
Yichun Zhang <a****h@g****m>
|
about 13 years ago
|
|
|
60902726
|
give the argument of 'void' to function definitions which has no arguments
|
cubicdaiya <c****a@g****m>
|
about 13 years ago
|
|
|
eecb52bc
|
bugfix: when our atpanic handler for Lua VM gets called, the Lua VM is not re...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
0d814309
|
bumped version to 0.8.5.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
4516e5ad
|
docs: documented the memory freeing behavior of shdict:flush_all and shdict:f...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
f36a35d3
|
documented the lua_regex_match_limit directive.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
9d017a21
|
feature: added new directive lua_regex_match_limit for setting PCRE match_lim...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
0aca2046
|
bugfix: when compiling with -DDDEBUG=1, there was a compilation error in ngx_...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
8708f604
|
docs: typo fixes in the code sample for body_filter_by_lua. thanks cyberty fo...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
fe467e52
|
bugfix: the ngx.ctx tables would leak memory when ngx.ctx, ngx.exec()/ngx.req...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
a184a911
|
util/build2.sh: default to nginx 1.4.1 now.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
76c2427a
|
test: made the resolver less possible to time out in two test cases.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
4656a290
|
docs: bumped version to 0.8.4; also mentioned Nginx Systemtap Toolkit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
4d27348c
|
bugfix: tcpsock:send("") resulted in the error log alert message "send() retu...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
6977e951
|
bugfix: setting ngx.var.VARIABLE could lead to stack buffer over-read in luaL...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
25ef1f94
|
feature: added pure C API for ngx.exit, which is expected to be used with Lua...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
d86d3dc6
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
5e256f8b
|
refactor: now we store the nginx request object as a named Lua global variabl...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
d82196f7
|
bugfix: t::TestNginxLua: env TEST_NGINX_INIT_BY_LUA would break existing init...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
0e5d1a89
|
merge
Merge branch 'master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
569cabe1
|
refactor: no longer store cf->log into the lua registry table because we can ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
d9e3e8fe
|
refactor: added inline functions ngx_http_lua_get_req and ngx_http_lua_set_re...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
fe27fc2a
|
updated README.markdown to reflect recent changes in docs.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
f05ef37b
|
optimize: avoided use of the nginx request objects in ngx.encode_args.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
5a0bb76e
|
optimize: avoided use of the nginx request objects in ngx.escape_uri, ngx.une...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
488ab67c
|
merge
Merge branch 'master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
d8aa2fed
|
updated docs to reflect recent changes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
ff9580dd
|
bugfix: ngx.flush(true) might not return 1 on success.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
5a880aea
|
change: made ngx.say/ngx.print/ngx.eof/ngx.flush/ngx.send_headers return nil ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 13 years ago
|
|
|
cf4f62a6
|
updated .gitignore a bit.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
about 13 years ago
|
|
|
b07a3d3c
|
fixed failing test cases to reflect the multi-value header change in nginx 1....
|
agentzh (Yichun Zhang) <a****h@g****m>
|
about 13 years ago
|
|
|
f40a5042
|
tests: replaced the domain name "direct.agentzh.org" with "agentzh.org".
|
agentzh (Yichun Zhang) <a****h@g****m>
|
about 13 years ago
|
|
|
34f4042f
|
Revert "bugfix: use of LuaJIT FFI when disabling the Lua code cache would lea...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
about 13 years ago
|
|