|
7e4f1af7
|
bugfix: init_worker_by_lua*: memory corruptions would happen when no server {...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 12 years ago
|
|
|
df70a5e7
|
bugfix: fixed build failures with OpenSSL older than 0.9.8f. thanks FFCZ for ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
almost 12 years ago
|
|
|
044f8618
|
bugfix: create_loc_conf did not return NULL on error.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
96d4608e
|
tests: fixed a case for raw req socket to reflect recent changes in the debug...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
3acb8dd9
|
bugfix: the "tcp_nodelay" directive configuration was not honored by upstream...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
947f82d1
|
bugfix: compilation failed with nginx 1.3.6 or older. this regression had app...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
1565a068
|
bugfix: compilation failed with nginx 0.9.x.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
e2aef6d0
|
doc: bumped version to 0.9.11; also claimed that we work with nginx 1.7.4.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
4c19852c
|
doc: typo fix.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
da0ced8a
|
bugfix: init_worker_by_lua* would conflict with some other nginx C modules (l...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
d4dbba59
|
config: now we also explicitly check the Lua ABI/language version in our feat...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
90bdd974
|
fixed the build failure introduced in commit 109fd454a.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
b6978cde
|
merge
Merge pull request #409 from cubicdaiya/feature/vim
|
Yichun Zhang <a****h@g****m>
|
about 12 years ago
|
|
|
e4691cb5
|
merge
Merge pull request #410 from cubicdaiya/feature/use_macro
|
Yichun Zhang <a****h@g****m>
|
about 12 years ago
|
|
|
99cc06d0
|
merge
Merge pull request #411 from cubicdaiya/feature/ues_luapushliteral2
|
Yichun Zhang <a****h@g****m>
|
about 12 years ago
|
|
|
109fd454
|
use lua_pushliteral for string-literals.
|
Tatsuhiko Kubo <c****a@g****m>
|
about 12 years ago
|
|
|
8e464f9a
|
Style: use macro instead of magic-number.
|
Tatsuhiko Kubo <c****a@g****m>
|
about 12 years ago
|
|
|
7f739a98
|
Style: added vim modeline.
|
Tatsuhiko Kubo <c****a@g****m>
|
about 12 years ago
|
|
|
d957eefe
|
tests: made a test case for ngx.on_abort() more tolerant.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
e0cd3ccf
|
bugfix: ngx.resp.get_headers(): sometimes we might omit the builtin-headers C...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
75cc29ea
|
bugfix: ngx.req.socket(true): it incrrectly returned the error "chunked reque...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
5f62a558
|
tests: fixed a test case that could fail randomly.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
3ffe48cc
|
bugfix: tcpsock:sslhandshake() incorrectly returned failures when the SSL han...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
03a74d44
|
tests: fixed a test case to reflect latest change in ngx_set_misc.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
ad336451
|
merge
Merge pull request #408 from cubicdaiya/issues/use_luapushliteral
|
Yichun Zhang <a****h@g****m>
|
about 12 years ago
|
|
|
06652edb
|
bugfix: we did not check allocation failures while compiling the pattern for ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
141725f4
|
use lua_pushliteral for string-literals.
|
Tatsuhiko Kubo <c****a@g****m>
|
about 12 years ago
|
|
|
05e2ad61
|
doc: removed the SSL cosocket item from the TODO list.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
92d92fbf
|
style: fixed tab indentation. thanks Tatsuhiko Kubo for the patch in #406.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
e482cdab
|
doc: more clarification in the docs for the res.truncated flag returned by ng...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
2b40b44d
|
doc: documented the new SSL cosocket feature.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
fd3f4ee2
|
bugfix: tcpsock:sslhandshake(): the "host" parameter did not accept the nil v...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
45cb4feb
|
doc: added missing method name "get_keys" under "ngx.shared.DICT" and also fi...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
e7d89c04
|
bugfix: builds without --with-http_ssl_module were broken. this regression ha...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
b55d0ecf
|
feature: tcpsock:sslhandshake(): when the "session" argument is a boolean "fa...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
20786576
|
tests: use iscribblet.org instead of agentzh.com in tests because the latter ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
90751a07
|
tests: fixed a case regarding ngx.on_abort().
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
82188a1e
|
tests: made a test regarding ngx.re.sub less possible to fail in slow testing...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
937dfb35
|
tests: a minor style fix in a case.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
a844a13c
|
bugfix: we did not set the c->pool->log properly where c is an upstream strea...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
3f9ab4bf
|
tests: suppressed a valgrind false positive in the nginx core.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
a6a0ed52
|
bugfix: memory leak cound happen when both cosocket connection pools and "lua...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
531fb5a0
|
tests: one minor Perl code style fix.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
348d359d
|
tests: fixed the test case added in commit 6ef948150.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
6ef94815
|
added a test case to exercise a bug in ngx_proxy's ssl handshake timeout hand...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
5aed1966
|
feature: SSL/TLS cosocket API
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
8acc73f2
|
bugfix: stream-typed cosocket might read uninitialized memory bytes when logg...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
766ab667
|
tests: fixed a test case regarding unix domain cosockets.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
35356322
|
optimize: we now cache the userdata metatable (for the __gc metamethod) in th...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
3fd3234f
|
optimize: we now cache the userdata metatable (for the __gc metamethod) in th...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
58f916f1
|
bugfix: the datagram-typed cosocket resolver handler did not handle some spec...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
2cc788b4
|
improved the fix in commit 48e48305.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
48e48305
|
bugfix: the stream-typed cosocket resolver handler did not handle some specia...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
c2f4dda2
|
trivial optimizations.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
66c45338
|
doc: markdown: fixed the "Back to TOC" links for the sections ("Nginx API for...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
92e22bc4
|
bugfix: body_filter_by_lua*: reading ngx.arg[1] after clearing ngx.arg[1] (by...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
f3870f6a
|
bugfix: ngx.req.raw_header() would return garbled data when LF instead of CRL...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
b5d23b9e
|
bugfix: ngx.req.raw_header() could lead to buffer overflow and the "userdata ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
e4e0f4b3
|
doc: improved the wording in the "Lua Coroutine Yielding/Resuming" section. t...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
dfb61fae
|
bugfix: we did not use lua_checkstack() to prevent Lua stack overflow in our ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
e1b24308
|
refactor: removed a piece of duplicate code from the stream-typed cosocket im...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
35e174b4
|
optimize: reading ngx.header.HEADER: eliminated dynamic allocations and data ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
ee2a206b
|
feature: added pure C API function for FFI-based implementation of reading ng...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
b6e991ba
|
tests: improved the test cases for the ngx.header API a little bit.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
d380c975
|
doc: improved the wording of the documentation for ngx.req.clear_header() to ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
ed096ada
|
style: fixed coding style in the header files consts.h and args.h. thanks Tat...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
f83fa0d4
|
bugfix: fixed an incorrect error message. thanks aviramc for the patch in #290.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
4969b87a
|
style: preserved a blank line after the goto labels.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
790e57de
|
optimize: reading ngx.header.HEADER: reduce allocations in the nginx request ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
c37e6a6e
|
change: use the type ngx_http_lua_ffi_str_t instead of ngx_str_t in the pure ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
cee6659f
|
doc: documented that the standard coroutine API is now available in the conte...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
1238bdd9
|
doc: documented the NGX_LUA_NO_FFI_API C macro.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
7ff3ef1f
|
renamed the NGX_HTTP_LUA_NO_FFI_API macro to NGX_LUA_NO_FFI_API.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
e94a4f37
|
feature: added pure C API functions for FFI-based implementations of ngx.work...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
a2e53c4f
|
bumped the code version to 0.9.11.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
17c28f1a
|
feature: the standard coroutine API is now enabled in the context of header_f...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
0778f2b0
|
feature: for content/rewrite/access_by_lua_file directives, we now return 404...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
76c70010
|
doc: fixed a wrong statement regarding require() in the "Lua Variable Scope" ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
34ecd2f1
|
bugfix: ngx.escape_uri() now uses uppercase hexadecimal digits for percent-en...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
5e944637
|
bugfix: for statically linked luajit, we need to pass -ldl to the linker. tha...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
6929e7de
|
doc: documented the behavior of init_by_lua* when lua_code_cache is off.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
cea9ee2c
|
doc: bumped version to 0.9.10.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
f3102fef
|
minor fixes in the NGX_LUA_ABORT_AT_PANIC macro.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
de46d204
|
bugfix: fixed a compilation error regression when using the Microsoft Visual ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
1e07b1ea
|
bugfix: we should use "c->buffered & NGX_HTTP_LOWLEVEL_BUFFERED" instead of "...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
aa6054a1
|
change: throw out the "no memory" Lua error consistently (instead of "out of ...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
9c79180b
|
bugfix: we did not handle an out-of-memory case in ngx.req.set_body_data().
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
5ad9b3fb
|
bugfix: rewrote the buggy patch in commit 4c215c556 for #386 because it did n...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
bda34bb0
|
fixed 2 minor lua stack manipulation mistakes.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
88be2058
|
bugfix: ngx_http_lua_chain_get_free_buf(): avoided returning zero-sized memor...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
fd8af73d
|
refactor: renamed ngx_http_chains_get_free_buf() to ngx_http_lua_chain_get_fr...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
6b8ca4a3
|
doc: typo fix.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
c29f33ad
|
doc: documented the NGX_LUA_USE_ASSERT and NGX_LUA_ABORT_AT_PANIC C macros.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
4c215c55
|
bugfix: body_filter_by_lua*: we might incorrectly pass zero-size bufs (in the...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
26fd0070
|
bugfix: we did not clear all the fields in ngx_buf_t when recycling chain lin...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
fdd10bf3
|
tests: use larger timeout threshold for test cases involved with external res...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
b106ccdb
|
fixed the test plan in 014-bugs.t.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
8613ed6e
|
bugfix: the *_by_lua_file directives failed to load .lua files of exactly the...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
db9fe7ab
|
bumped version to 0.9.10.
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|
|
745a7107
|
optimize: now we turn off our C-land assertions by default unless the user ex...
|
Yichun Zhang (agentzh) <a****h@g****m>
|
about 12 years ago
|
|