bugfix: we incorrectly returned 500 in our output header filter, body filter, and log-phase handlers upon inlined Lua code loading errors. bugfix: Lua stack overflow might happen when we failed to load inlined Lua code from the code cache.
bugfix: the "connect() failed" error message was still logged even when lua_socket_log_errors was off. thanks Dong Fang Fan for the report.
feature: added new method "get_stale" to shared dict objects, which returns the value (if not freed yet) even if the key has already expired. thanks Matthieu Tourne for the patch in #249.
updated docs to reflect recent changes.
documented the new "get_stale" method for shdict objects.
added tests to improve the code coverage in file ngx_http_lua_headers_out.c.
bugfix: segfault might happen when reading or writing to a response header via the ngx.header.HEADER API in the case that the nginx core initiated a 301 redirect. this issue was caused by an optimization in the nginx core where ngx_http_core_find_config_phase, for example, does not fully initialize the "Location" response header after creating the header. thanks Vladimir Protasov for the report in #260.
bugfix: reading ngx.header.location did not work when auto-redirect was in action. this is a further fix for #260.
made the test for shdict:get_stale less possible to fail.
minor coding style fixes.
minor test fixes.
Merge branch 'master' into get_cookies
bugfix: segfaults would happen in ngx.req.set_header() and ngx.req.clear_header() for HTTP 0.9 requests. thanks Bin Wang for the report in agentzh/headers-more-nginx-module#14.
bumped version to 0.8.6.
Merge branch 'master' into get_cookies