-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New features for ngx_lua #286
Commits on Apr 24, 2013
-
Added an optional parameter for ngx.req.set_header and ngx.req.clear_…
…header that determines whether or not to replace underscores with hyphens. Previously, underscores were replaced unconditionally. Currently each of the functions has another boolean argument. If it's false, underscores would not be touched. If it's true, they would. The default value of the argument is true.
Aviram committedApr 24, 2013 Configuration menu - View commit details
-
Copy full SHA for 3f39535 - Browse repository at this point
Copy the full SHA 3f39535View commit details
Commits on May 8, 2013
-
Aviram committed
May 8, 2013 Configuration menu - View commit details
-
Copy full SHA for 886e27b - Browse repository at this point
Copy the full SHA 886e27bView commit details -
Changed the replace_underscores parameter to a table of parameters (o…
…ptions), in which the only possible option currently is replace_underscores.
aviramc committedMay 8, 2013 Configuration menu - View commit details
-
Copy full SHA for 1c5e5b9 - Browse repository at this point
Copy the full SHA 1c5e5b9View commit details -
Added an options table to clean_header as well.
aviramc committedMay 8, 2013 Configuration menu - View commit details
-
Copy full SHA for f2e849a - Browse repository at this point
Copy the full SHA f2e849aView commit details
Commits on Sep 29, 2013
-
Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
aviram committedSep 29, 2013 Configuration menu - View commit details
-
Copy full SHA for e1281a2 - Browse repository at this point
Copy the full SHA e1281a2View commit details -
Added ngx.req.set_keepalive and ngx.req.get_keepalive to control the …
…keepalive option for the request.
aviram committedSep 29, 2013 Configuration menu - View commit details
-
Copy full SHA for f602d0f - Browse repository at this point
Copy the full SHA f602d0fView commit details -
aviram committed
Sep 29, 2013 Configuration menu - View commit details
-
Copy full SHA for d4d2988 - Browse repository at this point
Copy the full SHA d4d2988View commit details -
Added SSL support for TCP cosockets.
aviram committedSep 29, 2013 Configuration menu - View commit details
-
Copy full SHA for ef2ce04 - Browse repository at this point
Copy the full SHA ef2ce04View commit details -
- Now receive and send operations can be done simultaneous from several threads. - A different timeout can be set for receive and send. - Added fake_close for the client socket (ngx.req.socket), so that a thread that receives on this socket can be notified that we don't want to read from it anymore.
aviram committedSep 29, 2013 Configuration menu - View commit details
-
Copy full SHA for a3f9aa9 - Browse repository at this point
Copy the full SHA a3f9aa9View commit details -
Added the option 'bsd_receive' to the receive method, which enables u…
…s to receive just like BSD's recv call, meaning the maximum number of bytes given. This will only work only when a number is given as the first parameter for receive. Note that this differs from the original LuaSocket API.
aviram committedSep 29, 2013 Configuration menu - View commit details
-
Copy full SHA for d4864a9 - Browse repository at this point
Copy the full SHA d4864a9View commit details -
Added the lua_correct_location_header directive. If off, when setting…
… the "Location" response header, Nginx won't try to make absolute in case it's relative. Default is on.
aviram committedSep 29, 2013 Configuration menu - View commit details
-
Copy full SHA for 08dc8b4 - Browse repository at this point
Copy the full SHA 08dc8b4View commit details -
Added the 'lua_enforce_content_type' directive. When this is off and …
…response headers weren't set, ngx_lua won't enforce setting the content type header. Default is on, and this causes the default behavior - if the headers aren't set, then the 'Content-Type' header is set to the default content type.
aviram committedSep 29, 2013 Configuration menu - View commit details
-
Copy full SHA for 7a7b7fc - Browse repository at this point
Copy the full SHA 7a7b7fcView commit details
Commits on Sep 30, 2013
-
ngx.thread.kill - kills a thread. ngx.thread.kill_sleeping - either kills immediately a sleeping thread, or, if the thread is not sleeping, can wait for it to end. Useful for a thread that has a loop in which it sleeps.
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for 2a84a4c - Browse repository at this point
Copy the full SHA 2a84a4cView commit details -
Lua subrequests - added support for passing the method optional param…
…eter as a string. If the method string isn't a known Nginx method, it is still passed (and Nginx considers it as unknown).
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for 2799aad - Browse repository at this point
Copy the full SHA 2799aadView commit details -
Added ngx.location.capture_stream, which enables a single subrequest …
…to be performed in a streaming fashion.
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for c111582 - Browse repository at this point
Copy the full SHA c111582View commit details -
Merge branch 'keepalive' into patches
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for 2936588 - Browse repository at this point
Copy the full SHA 2936588View commit details -
Merge branch 'location-header' into patches
Conflicts: src/ngx_http_lua_common.h src/ngx_http_lua_module.c
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for 61f8f07 - Browse repository at this point
Copy the full SHA 61f8f07View commit details -
Merge branch 'socket-changes' into patches
Conflicts: src/ngx_http_lua_common.h src/ngx_http_lua_module.c
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for 4ed8b96 - Browse repository at this point
Copy the full SHA 4ed8b96View commit details -
Merge branch 'socket-changes' into patches
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for 5e9e3c3 - Browse repository at this point
Copy the full SHA 5e9e3c3View commit details -
Merge branch 'subrequest-methods' into patches
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for d3c8e40 - Browse repository at this point
Copy the full SHA d3c8e40View commit details -
Merge branch 'thread-kill' into patches
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for fb225e6 - Browse repository at this point
Copy the full SHA fb225e6View commit details -
Merge branch 'subrequest-streaming' into patches
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for ac49b69 - Browse repository at this point
Copy the full SHA ac49b69View commit details -
Added fake_close to the raw socket as well.
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for ae9d9f7 - Browse repository at this point
Copy the full SHA ae9d9f7View commit details -
Merge branch 'socket-changes' into patches
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for a5e3322 - Browse repository at this point
Copy the full SHA a5e3322View commit details -
del_thread doesn't remove the sleeping timer, which may cause segfaul…
…ts when using ngx.thread.kill_sleeping. Now removing the timer.
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for 7cd287a - Browse repository at this point
Copy the full SHA 7cd287aView commit details -
Merge branch 'thread-kill' into patches
aviram committedSep 30, 2013 Configuration menu - View commit details
-
Copy full SHA for f21cb57 - Browse repository at this point
Copy the full SHA f21cb57View commit details
Commits on Oct 1, 2013
-
Setting ctx->headers_set to 1 whenever setting a header successfully …
…(even when enforce_content_type is off).
aviram committedOct 1, 2013 Configuration menu - View commit details
-
Copy full SHA for fff19d6 - Browse repository at this point
Copy the full SHA fff19d6View commit details -
Merge branch 'content-type' into patches
aviram committedOct 1, 2013 Configuration menu - View commit details
-
Copy full SHA for 4714264 - Browse repository at this point
Copy the full SHA 4714264View commit details
Commits on Oct 2, 2013
-
Now when using the raw request socket, one shouldn't read the entire …
…request body before using it. This makes it possible to implement 'streaming' protocols, in which both client and server can read and write at the same time (such as forward HTTPS proxy with the CONNECT method).
aviram committedOct 2, 2013 Configuration menu - View commit details
-
Copy full SHA for cf77dc3 - Browse repository at this point
Copy the full SHA cf77dc3View commit details