Yichun Zhang (agentzh)
7a97d09024
doc: bumped version to 0.9.13 and also claimed the compatibility with nginx cores up to 1.7.7.
2014-11-21 21:09:29 -08:00
Yichun Zhang (agentzh)
5d063412ee
Merge branch 'master' of github.com:openresty/lua-nginx-module
2014-11-12 12:58:43 -08:00
Yichun Zhang (agentzh)
4720940e8c
fixed some new test failures according to the Amazon EC2 report.
2014-11-12 12:57:27 -08:00
Yichun Zhang (agentzh)
3085f32e70
Various improvements in ngx.timer and fake connections/requests.
...
* optimize: reduced the pool size of a fake connection from the
default pool size (16KB) to 128B.
* optimize: made fake requests share their connection pools.
* feature: the error logger used by ngx.timer.at handlers now
outputs the "client: xxx, server: xxx" context info for the
original (true) request creating the timer.
2014-11-11 22:00:48 -08:00
Yichun Zhang (agentzh)
e6132eab93
feature: added nginx configuration file names and line numbers to the rewrite/access/content/log_by_lua directives' Lua chunk names in order to simplify debugging.
2014-11-11 21:19:32 -08:00
Yichun Zhang (agentzh)
e226845119
Various downstream writing fixes.
...
* bugfix: ngx.flush(), ngx.eof(), and some other things did not update
busy/free chains after calling the output filters.
* bugfix: ngx_gzip/ngx_gunzip filters might cause ngx.flush(true) to
hang until timeout for nginx 1.7.7+ (and some other very old versions
of nginx). thanks Maxim Dounin for the help.
2014-11-10 15:00:07 -08:00
Yichun Zhang (agentzh)
bda5b97950
style: minor fixes.
2014-11-03 15:07:30 -08:00
Yichun Zhang (agentzh)
60c64cc144
doc: documented the 0-delay timer workaround for contexts where cosockets are not available (yet). also documented the "connection in dubious state" error message for tcpsock:setkeepalive().
2014-11-03 11:37:04 -08:00
Yichun Zhang (agentzh)
20bbbfbe44
bugfix: compilation failed when http ssl is not enabled in the nginx build. this regression had appeared in commit 5eb3f8c6f
.
2014-10-29 23:06:40 -07:00
Yichun Zhang (agentzh)
3c1918df8d
bugfix: ngx.get_phase() does not work in the context of init_worker_by_lua*.
2014-10-28 21:38:06 -07:00
Yichun Zhang (agentzh)
5eb3f8c6f8
bugfix: tcpsock:sslhandshake(): memory invalid read and/or bogus "lua ssl ceritficate does not match host" errors might happen when checking certificates with the SNI name.
2014-10-28 21:31:59 -07:00
Yichun Zhang (agentzh)
da31a5e653
doc: documented that ngx.exit() is enabled in the context of ngx.timer.* callbacks.
2014-10-28 17:24:02 -07:00
Yichun Zhang (agentzh)
0846f27663
tests: increased the timeout threshold for the test cases involved with expensive SSL handshakes to prevent them from getting timed out on slow boxes.
2014-10-27 22:05:06 -07:00
Yichun Zhang (agentzh)
75eaf07844
feature: ngx.flush(true) now returns the "timeout" and "client aborted" errors to the Lua land for the cases that writing to the client is timed out or the client closes the connection prematurely, respectively.
2014-10-27 21:47:53 -07:00
Yichun Zhang (agentzh)
0c33b9e0aa
feature: ngx.flush(true) can now wait on delayed events due to nginx's limit_rate config directive or "$limit_rate" variable settings. thanks Shafreeck Sea for the original patch in #432 .
2014-10-27 18:09:11 -07:00
Yichun Zhang (agentzh)
a4f8b8ad0e
bugfix: use of "ngx.flush(true)" with the "limit_rate" config directive or the $limit_rate variable may hang the request forever for large volumn of output data. thanks Shafreeck Sea for the report in #430 .
2014-10-27 17:34:44 -07:00
Yichun Zhang (agentzh)
db428bfc6d
doc: added a new section, "Cocockets Not Available Everywhere", under the "Known Issues" section.
2014-10-23 17:38:21 -07:00
Yichun Zhang (agentzh)
1506812afd
updated valgrind.suppress to suppress a false positive on Amazon Linux i386.
2014-10-16 13:00:58 -07:00
Yichun Zhang (agentzh)
2fe0d8dda2
more fixes in the tests regarding the resolver.
2014-10-12 22:36:53 -07:00
Yichun Zhang (agentzh)
bba7058e76
tests: avoid using hard-coded DNS nameserver address but the TEST_NGINX_RESOLVER environment.
2014-10-12 16:58:43 -07:00
Yichun Zhang (agentzh)
d427517315
suppressed a warning in the libc resolver.
2014-10-11 11:45:28 -07:00
Yichun Zhang (agentzh)
c2f88f8dfd
bugfix: compilation error when PCRE is disabled in the nginx build. thanks Ivan Cekov for the report in #428 .
2014-10-11 11:05:57 -07:00
Yichun Zhang (agentzh)
9ea909bae2
doc: typo fix from e路相扶.
2014-10-10 17:54:07 -07:00
Yichun Zhang (agentzh)
0162afd715
doc: fixed some broken in-page links, as reported by smallfish in #421 .
2014-10-09 16:22:40 -07:00
Yichun Zhang (agentzh)
cc9e738a72
doc: various wording improvements and link fixes from Dayo Akanji.
2014-10-09 16:10:41 -07:00
Yichun Zhang (agentzh)
c135f05f2c
tests: use larger timeout limit for a test case revolved with external DNS resolving.
2014-10-09 15:48:11 -07:00
Yichun Zhang (agentzh)
5c8957b2d1
tests: fixed a failure due to recent changes in the nginx core.
2014-10-09 15:47:45 -07:00
Yichun Zhang (agentzh)
05e8499c89
tests: fixed a test failure due to the misuse of the $TEST_NGINX_PORT variable.
2014-10-07 13:38:20 -07:00
Yichun Zhang (agentzh)
0d736bf228
tests: suppressed a warning from the test scaffold for a timer test case.
2014-10-06 23:29:17 -07:00
Yichun Zhang (agentzh)
6706ec2148
bugfix: when syslog was enabled in the "error_log" directive for nginx 1.7.1+, use of init_worker_by_lua or ngx.timer.at() would lead to segmentation faults. thanks shun.zhang for the report in #426 .
2014-10-06 23:26:16 -07:00
Yichun Zhang (agentzh)
8a4e8a72d4
minor test file format fixes.
2014-09-30 17:41:08 -07:00
Yichun Zhang (agentzh)
25c4bdd6b6
tests: suppressed a warning from the test scaffold due to an expected [crit] error log message in 2 test cases.
2014-09-24 15:35:03 -07:00
Yichun Zhang (agentzh)
c9128e50f9
tests: added a passing test case for connecting to IPv6 addresses via cosockets.
2014-09-24 15:06:23 -07:00
Yichun Zhang (agentzh)
4323f3bc13
tests: 129-ssl-socket.t: use limited timeout threshold for the cosockets.
2014-09-24 15:01:14 -07:00
Yichun Zhang (agentzh)
0c4528e50d
bugfix: fixed compilation error with nginx 1.7.5+ because nginx 1.7.5+ changes the API in the events subsystem. thanks Charles R. Portwood II and Mathieu Le Marec for the report in #422 .
2014-09-17 13:18:42 -07:00
Yichun Zhang (agentzh)
14fbf40317
doc: made clarification about ngx.exec() requested by Dayo Akanji.
2014-09-16 12:43:09 -07:00
Yichun Zhang (agentzh)
e9139a954b
doc: typo fix from tianchaijz in #419 .
2014-09-15 12:03:51 -07:00
Yichun Zhang (agentzh)
227a5f0e5f
api: bumped version to 0.9.13.
2014-09-07 15:10:31 -07:00
Yichun Zhang (agentzh)
3349791778
bugfix: ngx.req.raw_header(): buffer overflow and the "buffer error" exception might happen for massively pipelined downstream requests. thanks Dane Knecht for the report.
2014-09-07 13:14:39 -07:00
Yichun Zhang (agentzh)
ddb3636252
refactor: ngx.req.raw_header(): simplified the implementation.
2014-09-06 21:44:02 -07:00
Yichun Zhang (agentzh)
62fd4c5f70
bugfix: ngx.req.raw_header(): we might change nginx's internal buffer pointers, which might cause bad side-effects.
2014-09-06 21:39:28 -07:00
Yichun Zhang (agentzh)
73884588f6
doc: bumped version to 0.9.12.
2014-09-02 20:48:16 -07:00
Yichun Zhang (agentzh)
ffe7b34de7
doc: added more discussions for the potential race conditions in worker-level changeable data sharing to the "Data Sharing within an Nginx Worker" section. thanks Jon Keys for asking.
2014-09-02 12:24:03 -07:00
Yichun Zhang (agentzh)
d7378122d0
tests: fixed a small bug in a test case.
2014-08-29 16:22:36 -07:00
Yichun Zhang (agentzh)
be1655d239
bugfix: added extra delays to some of the test cases with systemtap involved.
2014-08-29 12:21:40 -07:00
Yichun Zhang (agentzh)
8e6aa11dcc
tests: updated test suite according to the latest changes in Test::Nginx::Socket.
2014-08-22 14:44:08 -07:00
Yichun Zhang (agentzh)
9688c645ba
doc: documented the behavior in the case that one does not call close() nor setkeepalive() in a cosocket object's lifetime. thanks Bogdan Irimia for asking.
2014-08-22 11:43:40 -07:00
Yichun Zhang (agentzh)
eb128df045
bugfix: added allocation failure check for ngx_array_init(). thanks Tatsuhiko Kubo for the patch in #414 .
2014-08-21 12:47:16 -07:00
Yichun Zhang (agentzh)
0e49fe7462
tests: fixed a case with expired CRL.
2014-08-21 12:46:21 -07:00
Yichun Zhang (agentzh)
5662ddd9b7
bumped internal code version to 0.9.12.
2014-08-20 17:22:24 -07:00