Permalink
Commits on Jan 18, 2017
Commits on Jan 14, 2017
  1. bugfix: tcp cosockets: sslhandshake(): typo in the error message.

    also fixed a code comment for the last argument recently added.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    detailyang committed with agentzh Jan 14, 2017
Commits on Jan 12, 2017
  1. tests: require PCRE 8.39 instead of 8.33 to run our test suite.

    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    alubbe committed with agentzh Jan 10, 2017
Commits on Dec 29, 2016
  1. feature: tcpsock:connect(): allows the options_table argument being nil.

    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    doujiang24 committed with agentzh Sep 3, 2016
Commits on Dec 27, 2016
  1. bugfix: setting response headers would change the Content-Type respon…

    …se header.
    
    thanks leafo for the report in openresty/openresty#92.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    moonbingbing committed with agentzh Dec 21, 2016
  2. added a passing test for #853.

    thanks jinhua luo for the original test case in
    openresty/lua-resty-core#58.
    agentzh committed Dec 27, 2016
  3. bugfix: balancer_by_lua*: the number of retres might exceed the limit…

    … of proxy_next_upstream_tries or alike.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    qlee001 committed with agentzh Nov 14, 2016
Commits on Dec 18, 2016
  1. travis-ci: cosmetic "wget" improvement.

    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    chipitsine committed with agentzh Dec 17, 2016
Commits on Dec 14, 2016
  1. feature: added support for the 303 status code in ngx.redirect().

    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    tmthrgd committed with agentzh Aug 25, 2016
  2. travis-ci: several improvements.

    * moved mysql to the right place
    * simplified wget calls
    * no, we were not going to cache drizzle (cache only works on successful build)
    * apt actually does not cache (I've looked to the travis-ci sources)
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    chipitsine committed with agentzh Dec 14, 2016
Commits on Dec 13, 2016
Commits on Dec 1, 2016
Commits on Nov 19, 2016
  1. doc: stripped line trailing whitespaces.

    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    alubbe committed with agentzh Nov 14, 2016
  2. doc: removed ngx.re.split() from TODO section since it is already imp…

    …lemented in ngx.re.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    thibaultcha committed with agentzh Nov 19, 2016
Commits on Nov 16, 2016
  1. bugfix: compilation failures with nginx cores older than 1.9.0.

    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    Ubuntu committed with agentzh Nov 16, 2016
Commits on Nov 15, 2016
  1. tests: fixed a perl warning "Unescaped left brace in regex is depreca…

    …ted, passed through in regex".
    agentzh committed Nov 15, 2016
  2. tests: ngx_http_fake_module: removed the coyyright notice since the c…

    …opyright is already granted.
    agentzh committed Nov 15, 2016
  3. tests: fixed a bug in the example ngx_fake_delayed module. thanks Dej…

    …iang Zhu. also removed the copyright notice in this module since it is already granted.
    agentzh committed Nov 15, 2016
Commits on Nov 14, 2016
  1. bugfix: C API: ngx_http_lua_add_package_preload() might not take effe…

    …ct when lua_code_cache is off.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    rainingmaster committed with agentzh Nov 14, 2016
Commits on Nov 13, 2016
  1. doc: added a note about the LRU regex cache used in the ngx.re.* impl…

    …ementation of lua-resty-core.
    agentzh committed Nov 13, 2016
Commits on Nov 4, 2016
Commits on Nov 3, 2016
  1. doc: log level constants are also available in init_by_lua* and init_…

    …worker_by_lua* contexts.
    
    thanks kraml for the report in #876.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    detailyang committed with agentzh Nov 2, 2016
Commits on Nov 2, 2016
  1. bugfix: segmentation faults might happen when ngx.exec() was fed with…

    … unsafe URIs (#905)
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    Jayce committed with agentzh Nov 2, 2016
Commits on Oct 31, 2016
  1. bugfix: ngx.req.set_header: skips setting multi-value headers for bad…

    … requests to avoid segfaults.
    
    When setting a multi-value header during bad requests, the value isn't
    added into the header's array. Despite failing to be set, the size of the
    array is still incremented. Later, if Nginx attempts to iterate over the
    array, a segfault will occur.
    
    e21d9b5 established a pattern of silently ignoring the header being set.
    I've moved the check for a bad request into `ngx_http_lua_set_input_header`
    so that setting a header value is ignored for both types of headers.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    es committed with agentzh Aug 22, 2016
  2. change: ssl_session_fetch_by_lua* and ssl_session_store_by_lua* are n…

    …ow only allowed in the http {} context.
    
    Use of these session hooks in the server {} scope did not make much
    sense since server name dispatch happens *after* ssl session resumption.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    doujiang24 committed with agentzh Oct 10, 2016
  3. tests: 147-tcp-socket-timeouts.t was failing in mockeagain read/write…

    … test modes.
    
    now we use MOCKEAGAIN_WRITE_TIMEOUT_PATTERN feature instead of sending mega bytes of data.
    
    Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
    doujiang24 committed with agentzh Oct 31, 2016