Yichun Zhang (agentzh)
|
5a880aea93
|
change: made ngx.say/ngx.print/ngx.eof/ngx.flush/ngx.send_headers return nil and a string describing the error in case of most of the common errors (instead of throwing out an exception), and return 1 for success.
|
2013-06-18 19:09:14 -07:00 |
agentzh (Yichun Zhang)
|
f20bc66109
|
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-08 21:03:04 -07:00 |
agentzh (Yichun Zhang)
|
5d0fb9feae
|
bugfix: the lua light threads would leak in case of nginx filter finalization. this issue was caught by the "check leak" testing mode provided by Test::Nginx while running on Amazon EC2.
|
2012-10-09 22:41:59 -07:00 |
agentzh (章亦春)
|
8f1b3d9aa3
|
added a test for If-Unmodified-Since and 412 error page.
|
2012-05-11 21:59:33 +08:00 |
agentzh (章亦春)
|
0ceb1045f1
|
added (passing) tests for conditional GET requests.
|
2012-05-11 16:57:38 +08:00 |