bugfix: ngx.req.set_body_file() always enabled Direct I/O which caused the alert message "fcntl(O_DIRECT) ... Invalid argument" in error logs on file systems lacking the Direct I/O support. buffer corruption might happen in ngx.req.set_body_file() when nginx upstream modules are used later because ngx.req.set_body_file() incorrectly set r->request_body->buf to the in-file buffer which could get reused by ngx_http_upstream for its own purposes. thanks Matthieu Tourne for reporting this issue.
feature: allow injecting new APIs into the "ngx" table.
minor coding style fixes and micro optimizations in ngx.md5, ngx.encode_base64, and ngx.decode_base64.
bugfix: temporary memory leaks might happen when using ngx.escape_uri, ngx.unescape_uri, ngx.quote_sql_str, ngx.decode_base64, and ngx.encode_base64 in tight Lua loops because we allocated memory in nginx's request memory pool for these methods.
optimize: ngx.escape_uri now runs faster when the input string contains no special chars to be escaped.
feature: added ngx.HTTP_MKCOL, ngx.HTTP_COPY, ngx.HTTP_MOVE, and other WebDAV request method constants; also added corresponding support to ngx.req.set_method and ngx.location.capture. thanks Adallom Roy for the patch.
docs: documented the new WebDAV request methods; also fixed a small typo.
bugfix: fixed the warning "argument 'nret' might be clobbered by 'longjmp' or 'vfork'" when compiling with Ubuntu 13.04's gcc 4.7.3. thanks jacky and Rajeev's reports.
Merge remote-tracking branch 'origin/master' into ffi
change: made the error messages for regex compilation failures less verbose.
Merge remote-tracking branch 'origin/master' into ffi
change: made the error messages for regex exec failures less verbose.
Merge remote-tracking branch 'origin/master' into ffi
change: made more error messages for regex exec failures less verbose.
Merge remote-tracking branch 'origin/master' into ffi
fixed some expected error messages in the ngx.re test cases for Lua implementations of the ngx_lua API like lua-resty-core.
Merge remote-tracking branch 'origin/master' into ffi
bugfix: ngx_http_lua_ffi_escape_uri did URI unescaping instead of URI escaping.