|
b3218be2
|
bugfix: use of LuaJIT FFI when disabling the Lua code cache would lead to Lua...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
48067c83
|
feature: added pure C API for ngx.re.sub and ngx.re.gsub, which is expected t...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
ef8779b1
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
39151875
|
updated docs to reflect recent changes.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
63a9915d
|
added (passing) tests for use of the $invalid_referer variable in Lua. this r...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
f50c7789
|
bugfix: a test case would fail when TEST_NGINX_PORT was set to port numbers o...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
9e4f9272
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
603c7a47
|
refactor: made the error messages for replacement template compilation failur...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
52bc5734
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
bd679f20
|
refactor: save the ngx_log_t pointer instead of the ngx_http_request_t pointe...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
300b167b
|
fixed a test that may time out unexpectedly.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
5cd82926
|
bugfix: no longer automatically turn underscores (_) to dashes (-) in header ...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
9cfcb06b
|
bugfix: segmentation fault might happen in nginx 1.4.x when calling ngx.req.s...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
06da40f9
|
style: fixed one line's indentation.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
f20bc661
|
added custom test scaffold t::TestNginxLua which subclasses Test::Nginx::Sock...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
71e16c46
|
added custom test scaffold t::TestNginxLua which subclasses Test::Nginx::Sock...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
1f1a31c7
|
feature: added pure C API for ngx.re.match, which is expected to be used by l...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
170d8f9d
|
bugfix: ngx_http_lua_ffi_escape_uri did URI unescaping instead of URI escaping.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
1bf2344c
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
31a80431
|
fixed some expected error messages in the ngx.re test cases for Lua implement...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
e8ec21e9
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
9b8a7b5e
|
change: made more error messages for regex exec failures less verbose.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
a80d4e1d
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
5c5a0a87
|
change: made the error messages for regex exec failures less verbose.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
ece37a98
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
35e6a65f
|
change: made the error messages for regex compilation failures less verbose.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
0e9fbdfb
|
merge
Merge remote-tracking branch 'origin/master' into ffi
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
4806fc2e
|
bugfix: fixed the warning "argument 'nret' might be clobbered by 'longjmp' or...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
41e3c2f5
|
docs: documented the new WebDAV request methods; also fixed a small typo.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
b4c2ad1f
|
feature: added ngx.HTTP_MKCOL, ngx.HTTP_COPY, ngx.HTTP_MOVE, and other WebDAV...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
601ddff3
|
optimize: ngx.escape_uri now runs faster when the input string contains no sp...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
b7b72892
|
bugfix: temporary memory leaks might happen when using ngx.escape_uri, ngx.un...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
f442858b
|
minor coding style fixes and micro optimizations in ngx.md5, ngx.encode_base6...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
c04c51a2
|
bugfix: ngx.req.set_body_file() always enabled Direct I/O which caused the al...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
5cb2b494
|
feature: added pure C API for ngx.escape_uri and ngx.unescape_uri, which is e...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
0ab77f96
|
feature: added pure C API for ngx.encode_base64 and ngx.decode_base64, which ...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
c355f0b5
|
bugfix: failed to compile when SHA1 support is missing. this regression had a...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
6ef7cef0
|
feature: allow injecting new APIs into the "ngx" table.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
1cc76f59
|
feature: allow injecting new APIs into the "ngx" table.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
cea321f7
|
added pure C API for ngx.md5, ngx.md5_bin, ngx.sha1_bin, which is expected to...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
34411875
|
added error log checks to the bytecode tests.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
e7dff1b3
|
updated the docs in plain text and markdown format to reflect recent changes.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
c558c434
|
bumped version to 0.8.1.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
04c81b1f
|
minor coding style fixes.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
65ff8d86
|
fixed a test case that may behave slighly differently on slow machines.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
790a74e0
|
bugfix: when lua_http10_buffering is on, for HTTP 1.0 requests, ngx.exit(N) w...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
3052bcd8
|
updated .gitignore a bit.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
f4122688
|
refactor: removed the unused parameter, "no_create", from the ngx_http_set_he...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
30cbc330
|
fixed several places in the header API where we should return NGX_ERROR inste...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
d1eca0c7
|
fixed one test case's title.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
7695a31e
|
documented the new "U" regex option for the ngx.re API.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
7e515f18
|
bugfix: modifying the Cookie request headers via ngx.req.set_header or ngx.re...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
0ac676f6
|
feature: added the "U" regex option to the ngx.re API to mean enabling the UT...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
766563fb
|
one minor coding style fix.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
b90e7dd1
|
bugfix: modifying the Via request header with ngx.req.set_header/ngx.req.clea...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
97425f8d
|
bugfix: ngx.req.set_header/ngx.req.clear_header did not update the special fi...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
a07df615
|
bugfix: modifying the Connection request header via ngx.req.set_header or ngx...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
55555a78
|
bugfix: modifying the User-Agent request header via ngx.req.set_header or ngx...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
2aa12ab3
|
bumped version to 0.8.0.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
656551e6
|
documented ngx.timer.at, lua_max_pending_timers, lua_max_running_timers, and ...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
6afcc17f
|
feature: ngx.get_phase() now returns the string "timer" when being invoked wi...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
d98a193d
|
added a (passing) test for using ndk.set_var.* in the context of ngx.timer ca...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
d997f740
|
refactor: replaced "ngx_lua_" with "ngx_http_lua_" in the identifiers used in...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
d43a39c5
|
bugfix: setting ngx.header.etag could not affect other things reading the ETa...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
e2d299e5
|
merge
Merge branch 'timer'
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
f081f212
|
bumped version to 0.7.21.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
b2ae68b7
|
merge
merged "master" into "timer".
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
6717d115
|
feature: added support for user arguments to the user callback function speci...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
26d679f8
|
bugfix: ngx.req.raw_header() would return an empty string value when the defa...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
10edc8cb
|
added a passing test for calling ngx.timer.at() after HUP reload.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
069f0754
|
feature: when the nginx worker process is quitting (as in server shutdown or ...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
f820e547
|
merge
Merge branch 'master' into timer
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
4e8c4bfc
|
bugfix: boolean values in an array table were rejected with the exception "at...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
5df2ec9f
|
merge
Merge branch 'master' into timer
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
a414691b
|
updated docs to reflect recent changes.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
71bf29a2
|
merge
merged "master" branch to "timer".
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
7c6484dc
|
updated tests to reflect recent changes in the upstream_truncation patch for ...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
59fe204e
|
added error log checks in 000--init.t.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
4eeb4762
|
removed too short proxy read timeout settings in two cases that are expected ...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
9e3b32f9
|
fixed a test case that might fail in slow testing modes.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
b408d5be
|
feature: ngx.location.capture and ngx.location.capture_multi now return a lua...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
e9f9fdd3
|
bugfix: request hung when rewrite cycled in ngx.req.set_uri(uri, true) instea...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
74617ac4
|
bugfix: the debug log message "lua set uri jump to <uri>" generated by ngx.re...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
8dc91019
|
tests: made two systemtap-based test cases less possible to fail in slow test...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
40bc1bb0
|
tests: ensure that TEST_NGINX_USE_STAP is unset when TEST_NGINX_USE_HUP is set.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
3c637926
|
merge
Merge remote-tracking branch 'origin/master' into timer
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
c7a0cf5f
|
merge
Merge remote-tracking branch 'origin/master' into timer
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
2ac8d894
|
feature: added new Lua API, ngx.timer.at(time, callback), for defining timers...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
a352e1fd
|
feature: now we allow zero time argument in ngx.sleep().
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
66e2ccbf
|
bugfix: assignment to ngx.status did not take effect when the response status...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
d4b8c7d8
|
bumped version to 0.7.19.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
f203b5f4
|
ngx.req.raw_header: added a buffer size assertion and two more (passing) test...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
664d74ed
|
bugfix: ngx.req.raw_header() would return the first part of the request body ...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
5193cff2
|
updated docs to reflect recent changes.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
c7879f30
|
raised the error log level back to "warn" for 087-udp-socket.t, which contain...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
168eb387
|
typo fixes in the tests for udp cosockets.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
357f25d1
|
added a (passing) test for ensuring the resolver gets shut down properly when...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
84c4d183
|
bugfix: ngx.socket.udp: memory leaks or invalid memory accesses might happen ...
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
7f94cb20
|
fixed some test cases which may fail in slow testing modes.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|
|
16db13b8
|
eliminated the use of the cjson library in a recently-added test case.
|
agentzh (Yichun Zhang) <a****h@g****m>
|
over 13 years ago
|
|