Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
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) 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) be1655d239 bugfix: added extra delays to some of the test cases with systemtap involved. 2014-08-29 12:21:40 -07:00
Yichun Zhang (agentzh) 3abfb1fc62 bugfix: when the ngx.on_abort() user thread was created but never run *and* some other pending user thread was aborted prematurely, the latter thread might get leaked. thanks Dane Knecht for the report. this regression had appeared in the v0.9.9 release. 2014-07-03 14:44:59 -07:00
Yichun Zhang (agentzh) 34ab51f89f updated tests to reflect recent changes in rewrite_by_lua* and access_by_lua*. 2014-05-22 14:53:15 -07:00
Yichun Zhang (agentzh) c27f65b2bd updated tests to reflect the changes in commit 60999efe3. 2014-01-07 17:11:47 -08:00
Yichun Zhang (agentzh) 04a7a2cca8 use Test::Nginx::Socket::Lua from the test-nginx project in our test suite. 2013-12-05 14:46:51 -08:00
agentzh (Yichun Zhang) 71e16c46d2 added custom test scaffold t::TestNginxLua which subclasses Test::Nginx::Socket. it supports the environment TEST_NGINX_INIT_BY_LUA which can be used to add more custom Lua code to the value of the init_by_lua directive in the nginx configuration. 2013-05-07 19:27:48 -07:00
agentzh (Yichun Zhang) eff99d5dba bugfix: use of ngx.req.socket() could make socket reading hang infinitely when the request did not take a request body at all (that is, when the Content-Length request header is missing). thanks Matthieu Tourne for reporting this issue. 2013-03-04 17:30:05 -08:00
agentzh (Yichun Zhang) 96a18a054f fixed more test cases using systemtap that could fail expectedly in slow testing modes. 2013-02-12 17:13:37 -08:00
agentzh (Yichun Zhang) 6f34716158 fixed a test case that may fail expectedly in slow testing mode. 2013-02-11 17:40:55 -08:00
agentzh (Yichun Zhang) b8af0b925e fixed the missing bits for commit 0d120033. 2013-01-23 20:21:47 -08:00
agentzh (Yichun Zhang) 0d12003313 tests: eliminated hitting Google's web servers (but we still make use of its public DNS servers). 2013-01-22 17:52:06 -08:00
agentzh (Yichun Zhang) 5d5edcf028 feature: implemented ngx.thread.wait() for synchronously waiting on a child user thread, which also returns the final results of the last implicit call of coroutine.resume() on the user thread coroutine. so now an non-captured Lua exception in a user thread will not abort other running threads in the same nginx request. 2012-09-29 23:47:19 -07:00
agentzh (Yichun Zhang) 00e99d519f bugfix: the ngx.thread API did not work in access_by_lua*. 2012-09-25 17:20:27 -07:00