Tags: stackluca/lua-nginx-module
Tags
tests: added full GC cycle operations to avoid false positives in the… … "check leak" test mode.
bugfix: the ssl connections might be drained and reused prematurely w… …hen ssl_certificate_by_lua* or ssl_session_fetch_by_lua* were used. this might lead to segmentation faults under load. thanks guanglinlv for the report and the original patch in openresty#1162.
tests: fixed a test case that might fail due to timing errors.
Revert "bugfix: ngx.escape_uri: we did not escape URI reserved chars. o… …penresty#1124" Commit f170505 breaks the compatibility with RFC 3986. Here is two reasons: 1. Quote from RFC 3986 Section 2.2: > A subset of the reserved characters (gen-delims) is used as delimiters of the generic URI components described in Section 3 Note that RFC 3986 says 'a subset of the reserved characters (gen-delims)', not all the reserved characters. The characters escaped in that commit are 'sub-delims'. They are not required to be escaped according to Section 2.2. 2. Refer to RFC 3986 "Appendix A. Collected ABNF for URI", sub-delims could be used as part of query and other components. This use case shows that sub-delims are valid in some component of URI. Therefore, it would be better if we don't escape them for URI component. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
bugfix: ngx.semaphore: when nginx workers exit, the harmless error me… …ssage "semaphore gc wait queue is not empty" might be logged. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
PreviousNext