Yichun Zhang (agentzh)
|
94f68befa3
|
bugfix: bogus nginx.conf parse failure "Lua code block missing the "}" character" might happen when there are many Lua code blocks inlined. thanks Andreas Lubbe for the report and test case in #611.
|
2015-11-25 20:19:25 +08:00 |
Yichun Zhang (agentzh)
|
2b93087210
|
bugfix: bogus "subrequests cycle" errors might occur with nginx 1.9.5+ due to the recent changes in the nginx core.
|
2015-11-25 12:15:39 +08:00 |
Yichun Zhang (agentzh)
|
905d7d0f04
|
bugfix: using quotes inside a pair of long brackets might lead to parse failures. this is similar to the issue reported by Dejiang Zhu in #596.
|
2015-11-09 12:19:37 +08:00 |
Yichun Zhang (agentzh)
|
4e897529d7
|
bugfix: use line comments inside a pair of long brackets might lead to parse failures. thanks Dejiang Zhu for the patch in #596.
|
2015-11-04 17:07:37 +08:00 |
Yichun Zhang (agentzh)
|
4a9d4b11fb
|
bugfix: subrequest response status codes between the range 100 .. 299 (inclusive) might get lost in the return values of ngx.location.capture*() calls. thanks Igor Clark for the report.
|
2015-10-30 15:16:09 +08:00 |
Yichun Zhang (agentzh)
|
2f65b0fff0
|
bugfix: we might return the wrong shm zone in the public C API function ngx_http_lua_find_zone(). thanks qlee001 for the report in #589.
|
2015-10-30 14:57:05 +08:00 |
Yichun Zhang (agentzh)
|
bf9436adef
|
tests: removed a bogus test case for set_by_lua_block.
|
2015-10-27 10:38:40 +08:00 |
Yichun Zhang (agentzh)
|
195baff55d
|
feature: implemented the set_by_lua_block directive.
|
2015-10-26 16:23:04 +08:00 |
Yichun Zhang (agentzh)
|
effd1d1d5b
|
fixed the test serial numbers in t/028-req-header.t.
|
2015-10-26 16:19:11 +08:00 |
Yichun Zhang (agentzh)
|
b948841c0d
|
bugfix: setting builtin request headers Depth, Destination, Overwrite, and Date via ngx.req.set_header() and etc might not take effect at least with ngx_http_dav_module. thanks Igor Clark for the report.
|
2015-10-21 11:48:24 +08:00 |
Yichun Zhang (agentzh)
|
311539270b
|
tests: removed the useless "use lib" directives from the Perl test files. thanks Markus Linnala for the report in #464.
|
2015-10-08 17:13:16 +08:00 |
Yichun Zhang (agentzh)
|
ec4076ef3a
|
reverted the last commit.
|
2015-09-30 16:29:10 +08:00 |
Yichun Zhang (agentzh)
|
e801097952
|
skipped test cases that do not make sense for the "check leaks" testing mode.
|
2015-09-30 10:56:58 +08:00 |
Yichun Zhang (agentzh)
|
bec51155f2
|
fixed line numbers in 132-lua-blocks.t.
|
2015-09-30 10:54:44 +08:00 |
Yichun Zhang (agentzh)
|
6b558cd4bd
|
feature: implemented the *_by_lua_block {...} directives that do not require extra escaping when inlining Lua code in nginx.conf.
|
2015-09-26 20:25:36 +08:00 |
ops.dev.cn
|
7e415bbbd5
|
optimize: fixed the hash-table initial sizes of the cosocket metatables.
thanks ops-dev-cn for the patch in #568.
|
2015-09-14 15:22:39 +08:00 |
Yichun Zhang (agentzh)
|
a05e1eb546
|
bugfix: use of shared dicts resulted in (unwanted) registrations of shared dict metatables on all the lightuserdata in the Lua space. thanks helloyi for the report in #548 and patch in #557.
|
2015-09-03 17:09:38 +08:00 |
Yichun Zhang (agentzh)
|
b6189f87f5
|
fixed the test plan.
|
2015-08-27 23:08:25 +08:00 |
Yichun Zhang (agentzh)
|
69d1a6988a
|
bugfix: if a 3rd-party module calls ngx_http_conf_get_module_srv_conf to fetch its current srv_conf construct in its merge_srv_conf callback, then use of init_worker_by_lua might lead to segmentation faults (the same also applied to merge_loc_conf). thanks chiyouhen for the report and patch in #554.
|
2015-08-27 17:47:20 +08:00 |
Yichun Zhang (agentzh)
|
ea195bd819
|
typo fixes in recently added test cases.
|
2015-08-16 20:40:57 +08:00 |
Yichun Zhang (agentzh)
|
bc0d619240
|
bugfix: ngx.req.clear_header/ngx.req.set_header: we did not update the shortcut fields in ngx_http_headers_in_t added since nginx 1.3.3 which may confuse other nginx modules accessing them.
|
2015-08-13 17:21:33 +08:00 |
Yichun Zhang (agentzh)
|
5399898ea3
|
bugfix: setting Content-Type response values including "; charset=xxx" via the ngx.header API might bypass the MIME type checks in other nginx modules like ngx_gzip. thanks Andreas Fischer for the report.
|
2015-08-11 13:19:21 +08:00 |
Yichun Zhang (agentzh)
|
7087978d1a
|
fixed SSL cosocket tests with google https in non-US regions.
|
2015-07-28 19:45:02 +08:00 |
Yichun Zhang (agentzh)
|
b8fc6c5894
|
tests: disabled the test cases exercising multiple http {} blocks since this undocumented feature has been disabled since nginx 1.9.3.
|
2015-07-16 12:18:14 +08:00 |
Yichun Zhang (agentzh)
|
91ff51faf4
|
bugfix: access nonexistent fields in the "ngx" table in init_by_lua* could lead to the exception "no request object found" because of the overreacting __index metamethod of the "ngx" table.
|
2015-06-23 20:48:40 +08:00 |
Yichun Zhang (agentzh)
|
601044eb32
|
bugfix: ngx.resp.get_headers(): some built-in headers were not accessible via lowercase. thanks Nick Muerdter for the patch in #529.
|
2015-06-21 00:19:21 +08:00 |
Yichun Zhang (agentzh)
|
9e0503b035
|
bugfix: raw downstream cosockets did not support full-deplexing. thanks aviramc for the bug report in #478 and the original patch in #481.
|
2015-06-20 22:21:34 +08:00 |
Yichun Zhang (agentzh)
|
0be132078d
|
fixed buggy test cases stuck on request body reading, which were exposed by the previous commit.
|
2015-06-18 00:12:04 +08:00 |
Yichun Zhang (agentzh)
|
6fa6e97cc4
|
bugfix: we did not always discard the request body if the user Lua handlers don't, which might cause 400 error pages for keep-alive or pipelined requests. thanks Shuxin Yang for the original patch in #493.
|
2015-06-17 21:36:07 +08:00 |
Yichun Zhang (agentzh)
|
255d40b126
|
fixed a test case for Mac OS X.
|
2015-06-11 18:18:50 +08:00 |
Yichun Zhang (agentzh)
|
edad9bb063
|
fixed a test case to reflect recent changes in lua-resty-core.
|
2015-03-23 13:16:56 -07:00 |
Yichun Zhang (agentzh)
|
6222f0c53d
|
feature: ngx.encode_base64: added support for the "no_padding" boolean argument to disable padding when a true value is specified. thanks Shuxin Yang for the patch.
|
2015-03-09 15:44:18 -07:00 |
Yichun Zhang (agentzh)
|
0f0c2f814d
|
bugfix: we should never automatically set Content-Type on 304 responses. thanks Simon Eskildsen for the patch in #468.
|
2015-03-09 14:56:39 -07:00 |
Yichun Zhang (agentzh)
|
7c37b4bbdb
|
bugfix: use of ngx_http_image_filter_module might lead to request hang due to duplicate header filter invocations. thanks Antony Dovgal for the report.
|
2015-03-06 15:47:09 -08:00 |
Yichun Zhang (agentzh)
|
3dbb2b00ec
|
tests: fixed nondeterminism due to unordered Lua table iterations. thanks Markus Linnala for the patch in #465.
|
2015-03-05 14:06:03 -08:00 |
Markus Linnala
|
ff23175f02
|
fix env tests
In my nginx implementation only explicitly set envs are visible.
|
2015-03-03 19:40:18 +02:00 |
Yichun Zhang (agentzh)
|
f88d4a9fb7
|
tests: fixed the test plan in 041-header-filter.t.
|
2015-02-16 15:48:20 -08:00 |
Yichun Zhang (agentzh)
|
82d0c265bb
|
bugfix: using error codes (ngx.ERROR or >=300) in ngx.exit() in header_filter_by_lua* might lead to Lua stack overflow.
|
2015-02-12 13:16:40 -08:00 |
Yichun Zhang (agentzh)
|
05a4a71432
|
bugfix: the value of the Location response header set by ngx.redirect() might get overwritten by nginx's header filter to the fully qualified form (with the scheme and host parts).
|
2015-02-05 16:03:56 -08:00 |
Yichun Zhang (agentzh)
|
8f908775c1
|
bugfix: the value of the Location response header set by the ngx.header.HEADER API might get overwritten by nginx's header filter to the fully qualified form (with the scheme and host parts).
|
2015-02-05 15:42:41 -08:00 |
Yichun Zhang (agentzh)
|
fe0e22d357
|
bugfix: tcpsock:setkeepalive(): we did not check NULL connection pointers properly. thanks Yang Yue for the report.
|
2015-01-08 20:15:00 -08:00 |
Yichun Zhang (agentzh)
|
8e79804e0e
|
bugfix: ngx.quote_str_str() incorrectly escaped "\026" to "\z" while "\Z" is expected. thanks laodouya for the original patch in #447.
|
2015-01-06 11:05:30 -08:00 |
Yichun Zhang (agentzh)
|
bd51d8196e
|
added passing test cases for #445.
|
2015-01-05 14:00:59 -08:00 |
Yichun Zhang (agentzh)
|
39ff3e697f
|
added tests for using the ngx. API functions in the user callback functions for ngx.re.gsub's replacement. these tests exposed a bug in lua-resty-core.
|
2014-12-22 15:43:32 -08:00 |
Yichun Zhang (agentzh)
|
521e4f4544
|
reindexed the tests in t/036-sub.t.
|
2014-12-22 15:41:38 -08:00 |
Yichun Zhang (agentzh)
|
c6930f018d
|
tests: fixed a test case which expects 127.0.0.1:53 has nothing to listen on, which is not true when a local DNS caching server is enabled.
|
2014-12-11 10:52:50 -08:00 |
Yichun Zhang (agentzh)
|
ac009a2487
|
bugfix: ngx.re.gsub/ngx.re.sub incorrectly swallowed the character right after a 0-width match that happens to be the last match. thanks Guanlan Dai for the patch in #442.
|
2014-12-10 15:17:53 -08:00 |
Yichun Zhang (agentzh)
|
af16d1f994
|
feature: added the Lua global __ngx_cycle which is a lightuserdata holding the current ngx_cycle_t pointer.
|
2014-12-10 15:04:56 -08:00 |
Yichun Zhang (agentzh)
|
5d063412ee
|
Merge branch 'master' of github.com:openresty/lua-nginx-module
|
2014-11-12 12:58:43 -08:00 |
Yichun Zhang (agentzh)
|
4720940e8c
|
fixed some new test failures according to the Amazon EC2 report.
|
2014-11-12 12:57:27 -08:00 |