|
20c41e1a
|
version bump.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
779702a1
|
fixed issues in the test suite exposed by nginx 1.5.7.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
0787f2c2
|
fixed the tests for truncated subrequests to reflect the changes in nginx 1.5...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
685f5eaf
|
bugfix: subrequests initiated by ngx.location.capture() might send their own ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
4f2b35dd
|
doc: bumped version to 0.9.3 and also stated that we work with nginx 1.4.4.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
31e22127
|
doc: documented the new behavior regarding zero-delay timers upon nginx worke...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
6e4a22b5
|
doc: documented the ngx.worker.exiting() API.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
3c5e109e
|
bugfix: ngx.req.set_header() did not completely override the existing request...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
0b9558cb
|
bugfix: fixed compilation warnings when ngx_devel_kit is missing in the build.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
02abcec8
|
doc: minor formatting fixes in the markdown version.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
d11dda10
|
added test cases for commit 2a121317.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
04a7a2cc
|
use Test::Nginx::Socket::Lua from the test-nginx project in our test suite.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
de86661c
|
fixed the test plan in 025-codecache.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
af1b72ec
|
bugfix: when lua_code_cache was off and timers created by ngx.timer.at() was ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
1de82ab6
|
bugfix: memory leak would happen in the pure C API function ngx_http_lua_ffi_...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
2a121317
|
bugfix: when lua_code_cache is off, per-request Lua VMs should inherit packag...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
18204238
|
refactor: introduced the type ngx_http_lua_ffi_str_t for FFI-based APIs.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
5ed4aa8b
|
bugfix: modifying request headers in a subrequest could lead to assertion fai...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
over 12 years ago
|
|
|
d37d7475
|
refactor: removed the useless "conf" field from ngx_http_lua_socket_pool_t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
69b0e98d
|
refactor: cleaned up the code for Lua VM instance management.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
f61d7ba1
|
bugfix: turning off lua_code_cache and using cosocket connection pools might ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
77fb0725
|
better debugging logs for "lua_code_cache off" and better test cases.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
4eade068
|
doc: tweaked the wording for lua_code_cache a bit more.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
26e148a0
|
removed an unimportant subtest from 025-codecache.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
80944815
|
doc: updated the docs for lua_code_cache to reflect recent changes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
9a9c511f
|
added more tests for "lua_code_cache off".
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
250ab089
|
added more debugging logs to the (global) Lua VM instance managing code.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
5fc80b5b
|
bugfix: turning off lua_code_cache could lead to memory issues (segfaults and...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
8acecfef
|
refactor: introduce the ngx_http_lua_get_main_lua_state function to abstract ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
f07a73ef
|
refactor: made the main Lua VM state creation and initialization code detache...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
bb9b2b34
|
feature: added pure C API for FFI-based implementations of the ngx.header.HEA...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
d87ded2f
|
fixed an issue in commit 8e6b4e3cb7: cygwin linker only issues a warning abou...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
9dd88ffc
|
bugfix: fixed compiler warnings and errors when using the Microsoft Visual C+...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
5a9a6f1c
|
feature: added pure C API functions for FFI-based implementations for ngx.req...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
8e6b4e3c
|
bugfix: the linker option -E is not support in Cygwin's linker; we should tes...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
5d7e08ce
|
documented the new "nth" argument for ngx.re.find.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
6213b040
|
bugfix: ngx.re.find: fixed the case when "nth" is greater than or equal to "r...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
a8c0b5f2
|
bugfix: ngx.re.find: we incorrectly returned negative indexes for nil submatc...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
27b804d4
|
bugfix: ngx.re.find() did not return an error when the "nth" argument is out ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
55adcc6b
|
feature: ngx.re.find() now accepts the optional 5th argument "nth" to control...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
590ac5c9
|
updated the test suite to reflect recent changes in Test::Nginx.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
5e0db0e9
|
fixed the "ngx" table preallocation space.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
014de9d9
|
doc: typo fix from Zheng Ping.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
77f24ba4
|
fixed a test case in t/014-bugs.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
51305177
|
bugfix: 0-delay timers created after the worker starts shutting down should n...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
002b68ec
|
feature: added new API function ngx.worker.exiting() for testing if the curre...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
4d6dc580
|
feature: allow creating 0-delay timers upon worker process existing.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
e5f63816
|
doc: more formatting tweaks.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
55623aca
|
doc: fixed regressions in the markdown version.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
f5b78fc8
|
doc: markdown: removed unnecessary indentation from code samples.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
159be4c9
|
doc: documented how to link against a static library (or object file archive)...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
736fce1a
|
doc: added new section "Statically Linking Pure Lua Modules".
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
5cb9d9d4
|
doc: mention LuaJIT 2.1 wherever we mention LuaJIT 2.0.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
98f9420b
|
added ljson.lua for the test suite so that we can have sorted keys in the JSO...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
9401a60c
|
fixed the table pre-allocation space for the ngx.config table.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
86a08bab
|
documented the new ngx.config.nginx_version and ngx.config.ngx_lua_version API.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
797fa5ca
|
feature: added new API for version numbers of both nginx and the ngx_lua modu...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
3748896d
|
minor debugging log message tweaks.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
e4e085f7
|
merge
Merge branch 'master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
93bc3c50
|
updated docs to reflect the new support for loading LuaJIT 2.1 bytecode direc...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
358f9a59
|
feature: added support for loading LuaJIT 2.1 bytecode files directly in *_by...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
11dee4a4
|
feature: added pure C API for FFI-based implementations of ngx.req.get_headers.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
3e63ceba
|
feature: added pure C API for FFI-based implementations for storing operation...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
6e0a5c52
|
bugfix: the FFI API for ngx.var incorrectly used the storage of the input buf...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
15e53e3a
|
merge
Merge branch 'master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
1523ab0a
|
removed the plain text README file.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
622f12aa
|
feature: added pure C API for implementing ngx.var writes via LuaJIT FFI.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
6c1e4d62
|
optimized the default implementation of ngx.headers_sent a bit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
97d6a8c9
|
feature: added pure C API for FFI-based implementations of ngx.headers_sent.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
12920fff
|
feature: added pure C API for FFI-based implementations of ngx.is_subrequest.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
a7a41fd0
|
feature: added pure C API for FFI-based API for ngx.status.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
7358557d
|
feature: added pure C API for FFI-based implementations of ngx.ctx.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
7b9d8865
|
merge
Merge branch 'master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
d516e4e3
|
bumped version to 0.9.2.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
229a2214
|
documented the new ngx.config.prefix() API function.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
8228e984
|
bugfix: reading ngx.header.HEADER could result in Lua string corruptions. tha...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
1bedc5d4
|
ngx.re.find now returns a single nil value when no match is found.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
2d6cf5c7
|
documented the new ngx.re.find API function.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
d577a63e
|
merge
merged branch "master" into "ffi".
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
87dd3cf1
|
updated valgrind.suppress a bit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
e454b0b1
|
merge
Merge branch 'master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
a4429803
|
updated .gitignore a bit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
e6db9d3a
|
added tests for ngx.re.find.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
279da4d0
|
feature: added new API function ngx.re.find, which is similar to ngx.re.match...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
91d701d1
|
updated tests to reflect the fix in commit ccb0cbe0d.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
d333a369
|
minor coding style fixes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
f5944933
|
updated docs to reflect recent changes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
ccb0cbe0
|
bugfix: ngx.re.match: the ctx table's "pos" field should start from 1 instead...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
8fe00e8f
|
fixed a test title.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
3c0a9d90
|
add debugging logs for the Lua VM initialization and shutdown.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
0c85bec1
|
removed valgrind suppression rules for LuaJIT.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
f4af449f
|
updated valgrind.suppress when the sysmalloc is used.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
0bd56bb8
|
updated valgrind.suppress when the sysmalloc is used.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
93493ea7
|
no longer set RPATH for luajit lib in the developer build script; also update...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
483a3a9d
|
no longer set RPATH for luajit lib in the developer build script; also update...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
df91a47b
|
bugfix: compilation errors with nginx older than 1.0.0.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
642db29e
|
merge
Merge branch 'master' into ffi
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
22f4c67a
|
fixed the test plan for 119-config-prefix.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
5536b854
|
merge
merged branch "master" to "ffi".
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|
|
014c6b51
|
bugfix: localizing the coroutine.* API functions in init_by_lua* for future u...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 13 years ago
|
|