Permalink
Commits on Nov 28, 2012
  1. rmoved submodules

    vladshub committed Nov 28, 2012
  2. removed submodule

    vladshub committed Nov 28, 2012
  3. removed submodules

    vladshub committed Nov 28, 2012
  4. ngx.exit(N) now no longer throws out a Lua exception when N >= 300 an…

    agentzh committed Nov 28, 2012
    …d a response header with a different status code has already been sent (but an error message will still be printed into the error.log file). this change makes Lua code debugging based on ngx.say/ngx.print much easier. thanks Matthieu Tourne for the suggestion.
Commits on Nov 27, 2012
  1. bugfix: ngx.exit(N) threw out exceptions when N was 408, 499, or 444 …

    agentzh committed Nov 27, 2012
    …and the response header was already sent. thanks Kindy Lin for reporting this issue.
Commits on Nov 20, 2012
  1. bumped version to 0.7.5.

    agentzh committed Nov 20, 2012
  2. bugfix: ngx.log() would truncate the log messages with a null charact…

    agentzh committed Nov 20, 2012
    …er (\0) in it. thanks Wang Xi for reporting this issue.
Commits on Nov 15, 2012
  1. bugfix: ngx.req.clear_header() would result in memory invalid reads w…

    agentzh committed Nov 15, 2012
    …hen removing the 21st request headers. thanks Umesh Sirsiwal for reporting this issue in github issue #176.
Commits on Nov 12, 2012
  1. updated docs to eliminate use of package.seeall in code samples and a…

    agentzh committed Nov 12, 2012
    …lso to explicitly discourage the use of it.
  2. documented the special case that client closes the connection before …

    agentzh committed Nov 12, 2012
    …ngx.req.socket() finishes reading the whole body.
Commits on Nov 11, 2012
Commits on Nov 9, 2012
Commits on Nov 8, 2012
  1. bugfix: calling ngx.on_abort() twice in a single handler will result …

    agentzh committed Nov 8, 2012
    …in memory leaks; now it returns an error upon subsequent calls.
  2. bugfix: request might hang when a callback function is registered via…

    agentzh committed Nov 8, 2012
    … ngx.on_abort() and there was no client abort event at all. also ensured that the on_abort callback will not get called when the request is already done.
  3. feature: ngx.exit(N) can now abort pending subrequests when N = 408 (…

    agentzh committed Nov 8, 2012
    …request time out) or N = 499 (client closed request) or N = -1 (error). feature: added ngx.on_abort() for registering user Lua function callback which will get called automatically when client abortion happens.
Commits on Nov 7, 2012
  1. renamed the config directive "lua_on_client_abort stop|ignore" to "lu…

    agentzh committed Nov 7, 2012
    …a_check_client_abort on|off".
Commits on Nov 6, 2012
  1. added a test case for testing the kqueue-specific bug in the ngx_http…

    agentzh committed Nov 6, 2012
    …_upstream_test_connect function of the nginx core.
  2. tweaked the test cases for one-way shutdown for the mockegain writing…

    agentzh committed Nov 6, 2012
    … testing mode because nginx does not really support the one-way shutdown on the client side.
Commits on Nov 5, 2012
  1. bugfix: using "lua_on_client_abort stop" and doing internal redirects…

    agentzh committed Nov 5, 2012
    … might lead to segmentation faults.
  2. bugfix: fixed the -Werror=unused-variable gcc warning on systems with…

    agentzh committed Nov 5, 2012
    …out kqueue, which was introduced by commit 9205848.
  3. bugfix: ngx_lua cosocket's connect() method could not detect errors l…

    agentzh committed Nov 5, 2012
    …ike "connection refused" when kqueue was used. tests: fixed the compatibilty issues in those test cases that were failing on non-Linux systems like FreeBSD.
Commits on Nov 4, 2012
  1. updated --- stap_wait to --- wait in the test suite to reflect the ne…

    agentzh committed Nov 4, 2012
    …w changes in Test::Nginx::Socket.
  2. bugfix: reading on ngx.req.socket() now returns the error "client abo…

    agentzh committed Nov 4, 2012
    …rted" in case request body truncation even when lua_on_client_abort is "ignore". bugfix: for edge-triggered events, use of ngx.req.socket() might prevent "lua_on_client_abort stop" from detecting the connection shutdown event.
  3. bugfix: receiving data on ngx.req.socket() did not return any errors …

    agentzh committed Nov 4, 2012
    …when the request body got truncated; now we return the "closed" error (or "client aborted" when lua_on_client_abort is not configured as "ignore"). feature: implemented new config directive lua_on_client_abort which (atm) takes two possible values, "ignore" (the default) and "stop".
Commits on Nov 2, 2012
Commits on Oct 31, 2012