feature: added support for raw downstream cosocket via the ngx.req.socket(true) API, upon which http upgrading protocols like WebSocket can be implemented with pure Lua.
bugfix: we did not honor the tcp_nodelay config directive in the raw downstream cosockets.
Merge remote-tracking branch 'origin/master' into websocket
Merge remote-tracking branch 'origin/master' into websocket
bugfix: the nginx core does not send a default status line for 101 status code. now we construct one for 101.
Merge branch 'master' into websocket
Merge branch 'master' into websocket
Merge branch 'master' into websocket
Merge branch 'master' into websocket
bugfix: memory invalid reads might happen when ngx.flush(true) was used: the "ctx" struct could get freed in the middle of processing and we should save the state explicitly on the C stack.
fixed bad request header lines in the tests in 116-raw-req-socket.t, which caused test bailout in the "check leak" testing mode.
bugfix: fixed most of the compiler warnings from the MinGW C compiler, some of which are real overflow issues. thanks Edwin Cleton for the report.
more warning fixes for the Microsoft Visual C++ compiler. thanks Edwin Cleton for the report.
bugfix: the standard Lua coroutine API was not available in the context of init_by_lua* and threw out the "no request found" error. thanks Wolf Tivy for the report.
bugfix: Windows compatibility issue in the Lua/LuaJIT bytecode file loader: it assumed that ngx_fd_info accepts integral fd as the 1st argument. thanks Edwin Cleton for the report (#283) and thanks jinglong for the original patch in #284.
bugfix: compilation regressions with nginx older than 1.3.13, introduced recently by the ngx.req.socket(true) API.
tests: removed the "single" option from the "keepalive" directive because it is not a public feature.
removed the ngx_upstream_keepalive module from the developer build script because it has been included in the official nginx distribution.
docs: made the "Test Suite" section up to date (I hope).
feature: now we allow use the raw request cosocket returned by ngx.req.socket(true) to send the raw HTTP response header. thanks aviramc for requesting this in #242. also we now always enable "lingering close" in the nginx core when raw req sockets are used.