|
f9917b93
|
skipped 2 test cases that are nonderterministic.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
4cb8dda8
|
bugfix: accessing a datagram cosocket object from a request which does not cr...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
414db1a8
|
bugfix: accessing a cosocket object from a request which does not create it c...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
382c7201
|
change: it is now the user's responsibility to clear the captures table for n...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
a4db3e1b
|
bugfix: we should prefix our chunk names for from-string lua source (which al...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
6c56337d
|
bugfix: init_worker_by_lua should honor the lua_socket_log_errors directive's...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
9b18ca31
|
bugfix: the "resolver" directive's toplevel configuration in the http {} bloc...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
37c86d67
|
bumped version to 0.9.6.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
be08630b
|
bugfix: subrequests initiated by ngx.location.capture* with the HEAD method d...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
97d91623
|
updated docs for the 0.9.5 release.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
cfc593bb
|
test: skipped two invalid test cases that use cosockets beyond the creating r...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
3898993e
|
fixed a bad regressoin in commit 1b615c46.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
fb06f395
|
fixed a test case that could fail in the "check leak" mode due to GC delays.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
1b615c46
|
bugfix: segfault might happen in the FFI API for destroying compiled pcre reg...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c6e28fdc
|
fixed the waiting time for a test case that could fail on slow machines.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
e0c5d58f
|
doc: typo fix in a code sample for ngx.req.get_post_args(). thanks Evan for t...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
880a1c85
|
refactor: adjusted the globals table handling a little bit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
911c3955
|
increased the waiting time in two ngx.abort test cases that might fail on slo...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
dc8e88cc
|
feature: explicitly check Lua langauge version mismatch; we only accept the L...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
9ef3ca51
|
removed the spdy mode check from ngx.location.capture*() to renable this API ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
d7487896
|
bugfix: an attempt to fix subrequests initiated by ngx.location.capture*() in...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
48af6433
|
doc: documented the new ngx.config.nginx_configure() function.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
1916d0c2
|
renamed ngx.config.ngx_configure to ngx.config.nginx_configure.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
441d9c28
|
feature: added new API function ngx.config.ngx_configure() to return the NGIN...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
f8629158
|
doc: documented the ngx.resp.get_headers() API function.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
887f0f99
|
feature: added new API function ngx.resp.get_headers() for fetching all the r...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
4a0036c0
|
optimize: coroutine status string look-up is now a bit more efficient by spec...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
eab56942
|
doc: fixed a typo in the doc for coroutine.yield(). thanks Ruoshan Huang for ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
f7db5fdd
|
doc: fixed linkrot of mod_lua. thanks Tatsuhiko Kubo for the patch in #336.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
ec368b46
|
refactor: removed an unused parameter, "len", in ngx_http_lua_ffi_script_eval...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
df7bf56a
|
doc: documented the new ngx.worker.pid() API.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
7460a8d1
|
adjusted a test case that could fail on slow machines.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
e5c1105b
|
bugfix: fixes for small string buffer arguments in the C API for FFI-based im...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
4112e749
|
bugfix: fixed the error message buffer overwrite in the C API for FFI-based n...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
76689637
|
skipped tests that could fail in the "check leak" testing mode.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
3eafa8df
|
better context info in the error messages for init_by_lua* and init_worker_by...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
a1c15f46
|
fixed an erorr message in ngx_http_lua_report.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
92219bba
|
feature: added new API function ngx.worker.pid() for retrieving the current n...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
a6e0f512
|
reindexed the tests in t/058-tcp-socket.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
6525ec0d
|
change: turned off lua_socket_log_errors in init_worker_by_lua*.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
2c4534ab
|
test: now we require the ngx_lua_upstream module for the test suite.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
096e2ff8
|
doc: updated the "TODO" section to reflect recent changes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
870b9a7f
|
test: use smaller port numbers to reduce the chance of conflicting with local...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
2079446f
|
bugfix: use of the public C API in other nginx C modules (extending ngx_lua) ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
47836cec
|
bugfix: segmentation faults might happen when multiple "light threads" in the...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c0053540
|
bugfix: timers created by ngx.timer.at() might not be aborted prematurely upo...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
1d85a61f
|
doc: mentioned ngx.timer.at for doing background jobs in ngx.eof's documentat...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c5c8a128
|
doc: markdown formatting fixes from Peter Cawley in #326.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
d633e34a
|
added a test case to exercise a bug in $args (it requires the setting_args_in...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
7e96a2dd
|
doc: typo fix from Zheng Ping.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c07aac16
|
bugfix: fixed some new warnings when using Microsft's C compiler. thanks Edwi...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
bbaa57d2
|
doc: added a code example for init_worker_by_lua.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
484e7df2
|
doc: documented init_worker_by_lua and init_worker_by_lua_file. also updated ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
9fc675f6
|
added more (passing) tests for init_worker_by_lua*.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
356661d6
|
feature: added new configuration directive, init_worker_by_lua, to run Lua co...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
81daa535
|
updated .gitignore a bit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
6ba57487
|
minor label name fixes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
50f5b1b9
|
bugfix: the return value sizes of the C functions ngx_http_lua_init_by_inline...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
8c74fb92
|
bumped version number to 0.9.5.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c18e03c5
|
refactor: made C functions ngx_http_lua_report and ngx_http_lua_do_call global.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
238ace2f
|
refactor: abstracted out the ngx_http_lua_create_fake_request function from t...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
b90bb2a5
|
refactor: abstracted out the ngx_http_lua_create_fake_connection function fro...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
6169a191
|
documented the 5th optional argument, "res_table", for ngx.re.match().
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
eb43c9c7
|
doc: fixed the year. it is 2014 now :)
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
38809402
|
updated docs to reflect recent changes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
b4fe8acd
|
bugfix: when ngx_http_lua_get_co_ctx returns NULL, it no longer means that th...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5581dedc
|
added a test to exercise the bug in nginx's resolver that domain names with a...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c27f65b2
|
updated tests to reflect the changes in commit 60999efe3.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
60999efe
|
bugfix: segmentation fault might happen when the downstream cosocket objects ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
2444f32d
|
ngx.shared: improved the error handling in incr() a bit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
e768e151
|
bugfix: segfault might happen when aborting a "light thread" pending on downs...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
59483007
|
ngx.re: added the whole regex flags string to the error message when there is...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
b8efc274
|
added a (passing) test for error status to improve code coverage.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
01f3cef1
|
reindexed the test file 043-shdict.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
f6d309ff
|
shdict: improved the error handling a bit and also added more (passing) tests.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5bf928ed
|
ngx.var: added a (passing) test for writing to a non-changeable nginx variable.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
c3d8da37
|
ngx.var: improved the error handling a bit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
4c1d0bd1
|
feature: ngx.escape_uri() and ngx.unescape_uri() now accept a nil argument, w...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
a4323aab
|
shdict: improved the error handling a bit and also increased the tests' code ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
0afaeec3
|
added (passing) tests for using lua numbers in response header names and valu...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
76fc8a7c
|
feature: added new pure C API, ngx_http_lua_ffi_max_regex_cache_size, for FFI...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
dce53afc
|
feature: added the optional 5th argument to ngx.re.match() which is the user-...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
ed3e68fc
|
added a (passing) test for providing the resulting match table to ngx.re.matc...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
73d74a09
|
added (passing) tests for feeding lua numbers to ngx.md5(), ngx.md5_bin(), an...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
2d0f587e
|
ngx_http_lua_ffi_set_ctx_ref: return the error code NGX_HTTP_LUA_FFI_NO_REQ_C...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
52dfc3fb
|
refactor: avoided the magic error code -3 in ngx_http_lua_ffi_get_ctx_ref.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
7e7b944a
|
change: ngx.decode_base64() now only accepts string arguments.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
fc52e157
|
merge
Merge pull request #322 from zh-ang/master
|
Yichun Zhang <a****h@g****m>
|
over 12 years ago
|
|
|
1b96235e
|
reduce compiling warning(avoid halting compiling)
|
jay <j****y@f****t>
|
over 12 years ago
|
|
|
c50f3cd3
|
doc: documented that the coroutine.* API can be used in init_by_lua since 0.9...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
26c1acce
|
tweaked a test case that could fail randomly on slow machines.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
eafad299
|
bugfix: we did not set the shortcut fields in r->headers_in for request heade...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
f6499356
|
optimize: we no longer clear the lua_State pointers for dead "light threads" ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
8f4c4853
|
bugfix: coroutines might incorrectly enter the "dead" state even right after ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
8d145981
|
minor debugging log tweaks.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
80c8bc0a
|
reindexed test file t/041-header-filter.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
3f8a592a
|
feature: allow use of ngx.exit() in the context of header_filter_by_lua*. but...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
9b76f74d
|
updated the tests to reflect recent changes in ngx.exit().
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
f364c820
|
fixed incompatiblities in nginx 1.5.8 which breaks the resolver API in the ng...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5a4199bb
|
bugfix: we might try sending the response header again in ngx.exit() when the...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|