Commit Graph

225 Commits

Author SHA1 Message Date
Yichun Zhang (agentzh) 220b940e66 bugfix: the ./configure options --with-dtrace-probes and --with-stream did not work together. 2016-01-07 12:34:39 -08:00
Yichun Zhang (agentzh) c0c2f883e9 feature: applied the ssl_cert_cb_yield patch to the NGINX core to allow yielding in OpenSSL's SSL_CTX_set_cert_cb() callbacks (needed by ngx_lua's ssl_certificate_by_lua*, for example). 2016-01-03 10:21:03 -08:00
Yichun Zhang (agentzh) 83eeb14f6c upgraded the nginx core to 1.9.7. 2015-11-24 22:37:40 +08:00
Yichun Zhang (agentzh) 1f4045ef2c More MSYS/MinGW love.
* upgraded ngx_lua to 0.9.18rc1 to support Win32 LuaJIT DLL.
* upgraded lua-redis-parser to 0.11rc1 for better Win32 support.
* upgraded lua-rds-parser to 0.06rc2 for better Win32 support.
* upgraded ngx_rds_csv to 0.07rc1  for better Win32 support.
* upgraded lua-resty-cli to 0.04rc1 for better Win32 support.
* upgraded lua-resty-core to 0.1.2.
* applied a patch to LuaJIT to add "!/lualib/" to the default Lua
  package search paths.
* upgraded lua-cjson to 2.1.0.3rc2 for better Win32 support and
  a suppressed gcc warning.
* use OpenResty's nginx tarballs extracted directly from the official nginx
  code repos, because we need the win32 support which is excluded in the
  official nginx release tarballs. Our nginx release tarballs are
  generated by the util/package-nginx.sh script.
* added the util/package-win32.sh script to generate the Win32 OpenResty
  binary distribution file.
* applied a patch to always enable C compiler feature tests in nginx's
  own build system because the MinGW gcc compiler on Win32 is also
  powerful enough to support advanced features like variadic macros.
* added document README-win32.
* util/dist-check: do a partial uninstallation before installing
  anything new.
* added util/build-win32.sh to build OpenResty on Win32 using the
  MinGW/MSYS toolchain.
* ./configure: added support for building on Win32 using the MinGW/MSYS
  toolchain.
2015-11-02 15:41:50 +08:00
Yichun Zhang (agentzh) f84e035e45 upgraded the nginx core to 1.9.3. 2015-07-16 11:45:34 +08:00
Yichun Zhang (agentzh) 4907d14700 fixed a compilation error when both the dtrace static probes and --with-threads are specified. 2015-07-08 20:53:55 +08:00
Yichun Zhang (agentzh) ce65738299 upgraded the nginx core to 1.9.2. 2015-07-03 20:04:13 +08:00
Yichun Zhang (agentzh) 99ca550104 use Maxim Dounin's version of the upstream_filter_finalize patch. 2015-02-15 14:10:11 -08:00
Yichun Zhang (agentzh) 6be51e769a bugfix: applied the upstream_filter_finalize patch to the nginx core to fix corrupted $upstream_response_time values when filter_finalize and error_page are both used. thanks Daniel Bento for the report. 2015-02-12 17:20:22 -08:00
Yichun Zhang (agentzh) 6142b6936f upgraded the nginx core to 1.7.10. 2015-02-11 14:49:26 -08:00
Yichun Zhang (agentzh) 6b052c8fca bugfix: ngx_http_redis failed to compile when the ngx_gzip module was disabled. thanks anod221 for the report in #79. 2015-01-29 14:53:48 -08:00
Yichun Zhang (agentzh) fab852190b fixed the context line numbers in ngx_http_redis-0.3.7-variables_in_redis_pass.patch. 2015-01-29 12:49:20 -08:00
Yichun Zhang (agentzh) 5cb6e4f591 Revert "bugfix: applied the patch to fix a new regression in nginx 1.7.7's ngx_gzip and ngx_gunzip modules that could lead to request hang when the downstream is slow to write to."
This reverts commit b6d3a5cf7b.
2014-11-15 11:49:06 -08:00
Yichun Zhang (agentzh) b6d3a5cf7b bugfix: applied the patch to fix a new regression in nginx 1.7.7's ngx_gzip and ngx_gunzip modules that could lead to request hang when the downstream is slow to write to. 2014-10-31 18:18:38 -07:00
Yichun Zhang (agentzh) 46a5fd3bba upgraded the nginx core to 1.7.7. 2014-10-29 21:27:14 -07:00
Yichun Zhang (agentzh) 445ca90f06 bugfix: applied a patch to the nginx core to fix the memory invalid reads when exceeding the pre-configured limits in an ngx_hash_t hash table. also upgraded ngx_lua to 0.9.13rc1. 2014-10-06 23:45:48 -07:00
Yichun Zhang (agentzh) dde4c94fd0 bugfix: applied a patch to the nginx core to fix a memory invalid read regression introduced in nginx 1.7.5+'s resolver. 2014-09-30 16:05:19 -07:00
Yichun Zhang (agentzh) 8dae181c24 upgraded the nginx core to 1.7.5. 2014-09-20 16:16:31 -07:00
Yichun Zhang (agentzh) e225c37731 upgraded the nginx core to 1.7.4. 2014-08-07 19:18:57 -07:00
Yichun Zhang (agentzh) cd89141e48 updated the proxy_ssl_handshake_timer patch to the upstream version as per Jared Feng's request. 2014-07-28 13:08:39 -07:00
Yichun Zhang (agentzh) 43ae08a6c4 bugfix: applied a patch to fix a bug in the standard ngx_geoip module where its nginx variables like $geoip_latitude might randomly take empty values when they should take perfect values. see http://mailman.nginx.org/pipermail/nginx-devel/2014-July/005642.html 2014-07-25 15:03:42 -07:00
Yichun Zhang (agentzh) f26ae39115 bugfix: applied a patch to the nginx core to ensure the ssl handshake procedure in ngx_proxy is always protected by a timer for timeout errors. see http://mailman.nginx.org/pipermail/nginx-devel/2014-July/005627.html 2014-07-22 17:10:22 -07:00
Yichun Zhang (agentzh) cc4a307f0e upgraded the nginx core to 1.7.3. 2014-07-13 20:35:52 -07:00
Yichun Zhang (agentzh) b824a3cb59 upgraded the nginx core to 1.7.2. 2014-06-17 16:57:10 -07:00
Yichun Zhang (agentzh) 39407386ea removed the cve-2013-2070 patch which is useless for nginx 1.7.0. 2014-05-22 13:32:19 -07:00
Yichun Zhang (agentzh) e37973502e bugfix: updated the dtrace patch because systemtap 2.5 no longer accepts the -xnolib option in its dtrace utility. 2014-05-18 15:46:20 -07:00
Yichun Zhang (agentzh) 52e622a26c bugfix: our "prev_slab" field of ngx_slab_page_t could get out of sync in the slab_defrag patch for nginx. thanks Shuxin Yang for the catch. 2014-05-09 15:15:44 -07:00
Yichun Zhang (agentzh) 20e69718ce fixed a bug in slab_defrag.patch for the nginx core that we may incorrectly access the padding area between the end of pool->pages and pool->start. thanks Shuxin Yang for the catch. 2014-05-07 13:11:06 -07:00
Yichun Zhang (agentzh) 05334f1b5b updated the slab_defrag patch (for nginx) with better comments. thanks Shuxin for the suggestions. 2014-05-06 16:25:56 -07:00
Yichun Zhang (agentzh) 91549c16b4 updated the slab_defrag patch (for nginx) a bit. 2014-05-06 14:24:24 -07:00
Yichun Zhang (agentzh) 1dbd0b24d2 apply the slab_defrag patch to the nginx core by default. 2014-05-06 13:16:59 -07:00
Yichun Zhang (agentzh) 9c3a123035 upgraded nginx core to 1.7.0. 2014-05-03 12:59:19 -07:00
Yichun Zhang (agentzh) b0f1e786c1 upgraded the nginx core to 1.5.12. 2014-04-03 17:36:53 -07:00
Yichun Zhang (agentzh) 37ba2b1015 backported the patch to the nginx core for the latest SPDY security vulnerability (CVE-2014-0133). 2014-03-19 17:38:31 -07:00
Yichun Zhang (agentzh) d21cc33749 nginx: disabled the -Werror option for clang too. thanks Hamish Forbes for the report. 2014-03-13 20:58:54 -07:00
Yichun Zhang (agentzh) e36d505d80 upgraded the patches for nginx 1.5.11. 2014-03-08 15:02:35 -08:00
Yichun Zhang (agentzh) 227e4e0da2 upgraded nginx core to 1.5.9. 2014-01-27 22:11:50 -08:00
Yichun Zhang (agentzh) 676150c81b bugfix: setting $args might not make ngx_proxy (and others) honour the change. applied the setting_args_invalidates_uri patch to fix this issue. thanks rvsw for the report. 2014-01-23 12:06:48 -08:00
Yichun Zhang (agentzh) c9d9e4a8dd updated the resolve-names-with-a-trailing-dot patch according to the feedback from Piotr Sikora and Ruslan Ermilov. 2014-01-10 12:06:37 -08:00
Yichun Zhang (agentzh) 9a3e9dbffd bugfix: nginx's builtin resolver did not accept domain names with a trailing dot. 2014-01-08 11:50:58 -08:00
Yichun Zhang (agentzh) 1eb135cc6a upraded the nginx core to 1.5.8. 2013-12-18 13:44:42 -08:00
Yichun Zhang (agentzh) 4bab759ea3 optimize: shortened the server string "ngx_openresty" to "openresty". 2013-12-15 16:28:50 -08:00
Yichun Zhang (agentzh) 8cec47f755 upgraded the nginx core to 1.5.7. 2013-12-15 13:21:56 -08:00
Yichun Zhang (agentzh) 0528788543 feature: added new configure option --with-pcre-conf-opt=OPTIONS to the nginx core to allow custom PCRE ./configure build options. thanks Lance Li for the original patch in #39. 2013-12-10 10:19:00 -08:00
Yichun Zhang (agentzh) 2fb9ed5c1d updated the larger_max_error_str patch to allow NGX_MAX_ERROR_STR to be redefined from the outside. 2013-12-05 20:36:53 -08:00
Yichun Zhang (agentzh) 1728ca8c66 feature: applied the larger_max_error_str patch to the nginx core to allow error log messages up to 4096 bytes. 2013-12-05 20:33:30 -08:00
Yichun Zhang (agentzh) 633abb71bf upgraded the patch "variables_in_redis_pass" to ngx_http_redis 0.3.7. 2013-12-03 12:06:31 -08:00
Yichun Zhang (agentzh) 8b86c72ea2 applied the official patch patch.2013.space.txt for the Nginx core to fix the security issue CVE-2013-4547. 2013-11-20 21:05:36 -08:00
Yichun Zhang (agentzh) b694456ef3 bugfix: applied the cache_manager_exit patch to the nginx core to fix an issue when the cache manager process is shutting down. 2013-11-04 13:08:57 -08:00
Yichun Zhang (agentzh) 68d1241d12 updated the gzip_flush_bug patch to fix the issue in the ngx_gunzip module. thanks Maxim Dounin for the catch. 2013-10-28 15:30:52 -07:00
Yichun Zhang (agentzh) f35f66a487 feature: added patch nginx-1.4.3-proxy_host_port_vars to make $proxy_host and $proxy_port accessible for dynamic languages like Lua and Perl. 2013-10-27 15:37:11 -07:00
Yichun Zhang (agentzh) aac5d5e49e updated nginx-1.4.3-gzip_flush_bug.patch according to Maxim Dounin's feedback. 2013-10-27 15:00:06 -07:00
Yichun Zhang (agentzh) 8bc4bf391a updated the gzip_flush_bug patch according to the feedback from Maxim Dounin. 2013-10-26 17:24:51 -07:00
Yichun Zhang (agentzh) 1df484be52 bugfix: applied the cache_lock_hang_in_subreq patch to the nginx core to fix the request hang when using proxy_cache_lock in subrequests and the cache lock timeout happens. 2013-10-26 14:54:50 -07:00
Yichun Zhang (agentzh) 4308a5ca45 bugfix: applied the gzip_flush_bug.patch to the nginx core. see also http://mailman.nginx.org/pipermail/nginx-devel/2013-October/004429.html 2013-10-25 17:31:39 -07:00
Yichun Zhang (agentzh) 274b1b6778 bugfix: backported Maxim Dounin's patch to fix an issue in the ngx_gzip module: it did not clear r->connection->buffered when the pending data was already flushed out. this could hang ngx_lua's ngx.flush(true) call, for example. 2013-10-19 20:49:06 -07:00
Yichun Zhang (agentzh) 35e053cb6c upgraded the nginx core to 1.4.3. 2013-10-17 16:15:42 -07:00
Yichun Zhang (agentzh) 221130defc updated patches for nginx 1.5.4. 2013-08-30 16:02:05 -07:00
Yichun Zhang (agentzh) 921fd6d675 checked in the patches for nginx 1.5.3; also applied the unix_socket_accept_over_read patch the nginx cores older than 1.5.3. 2013-08-30 12:41:13 -07:00
Yichun Zhang (agentzh) 3d547529fd upgraded the nginx core to 1.4.2. 2013-08-06 22:29:52 -07:00
Yichun Zhang (agentzh) 96abf202e4 bugfix: we did not initialize c->addr_text properly in nginx-1.4.1-unix_socket_accept_over_read.patch. 2013-07-10 13:13:57 -07:00
Yichun Zhang (agentzh) cee1aca97f checked in nginx-1.4.1-unix_socket_accept_over_read.patch. 2013-07-09 18:16:35 -07:00
agentzh (Yichun Zhang) 3a7529d7d0 fixed patches/nginx-1.4.1-no_pool.patch which did not apply at all. 2013-06-11 16:51:01 -07:00
agentzh (Yichun Zhang) 4cdd11476b applied the patch gcc-maybe-uninitialized-warning.patch for nginx to fix a gcc warning with gcc 4.7.3/4.7.2. 2013-06-11 13:05:30 -07:00
agentzh (Yichun Zhang) c312ba38b3 added patches for nginx 1.4.1. 2013-06-10 16:35:04 -07:00
agentzh (Yichun Zhang) 24d8c2265e feature: applied the invalid_referer_hash patch to the nginx core to make the $invalid_referer variable accessible in embedded dynamic languages like Perl and Lua. thanks Fry-kun for requesting this. 2013-05-21 16:19:10 -07:00
agentzh (Yichun Zhang) 6ce2a28c23 Merge branch 'tmp' 2013-05-13 12:42:41 -07:00
agentzh (Yichun Zhang) 07fbdad118 applied the official patch for the nginx security vulnerability CVE-2013-2070. 2013-05-13 12:37:43 -07:00
agentzh (Yichun Zhang) ca9f8d0622 updated the dtrace patch to reflect recent changes. 2013-05-13 12:09:47 -07:00
agentzh (Yichun Zhang) 529f4c854c always enable debuginfo in the bundled LuaJIT 2.0 build and Lua 5.1 build to support Nginx Systemtap Toolkit. 2013-04-20 23:10:26 -07:00
agentzh (Yichun Zhang) aadd93ff24 upgraded the nginx core to 1.2.8. 2013-04-20 22:41:46 -07:00
agentzh (Yichun Zhang) 49d9d9b778 nginx-1.2.7-upstream_truncation.patch: worked around an issue in ngx_event_pipe_copy_input_filter because it does not set p->upstream_done when p->length <= 0 like ngx_http_proxy_copy_filter. 2013-04-08 16:50:48 -07:00
agentzh (Yichun Zhang) 13efb24106 bugfix: ngx_uwsgi and ngx_scgi did set u->length but not u->pipe->length, thus leading to truncation false positives. 2013-04-07 15:58:23 -07:00
agentzh (Yichun Zhang) 3be0b7f0e1 bugfix: upstream_truncation.patch: 1. 504 error code in ngx_http_upstream_finalize_request resulted in calling special response handler even when the response header has been sent; 2. use 502 status code in ngx_http_upstream_finalize_request when upstream data truncation happens. 2013-04-06 18:02:44 -07:00
agentzh (Yichun Zhang) 5fb8647d23 renamed upstream-truncation.patch to upstream_trauncation.patch and also added a test for the case that r->upstream->pipe is NULL. 2013-04-05 12:48:59 -07:00
agentzh (Yichun Zhang) e7053c9ca9 updated the dtrace patch to make the stap function ngx_chain_dump() print out info about the "last_buf" and "last_in_chain" flags in bufs. 2013-04-04 18:26:27 -07:00
agentzh (Yichun Zhang) 042e2fd27b renamed the "nonbuffered-upstream-truncation" patch to "upstream-truncation" patch; also fixed issues with chunked upstream response bodies. thanks Andy Yuan for reporting this issue in #24. 2013-04-04 18:25:00 -07:00
agentzh (Yichun Zhang) 9f52ad4a45 applied the variables_in_redis_pass patch to ngx_redis 0.3.6 to allow use of nginx variables in the redis_pass directive. 2013-03-21 18:03:56 -07:00
agentzh (Yichun Zhang) a925be09c9 bugfix: applied Lanshun Zhou's run_posted_requests_in_resolver patch to the Nginx core: http://mailman.nginx.org/pipermail/nginx-devel/2013-March/003476.html 2013-03-20 18:48:27 -07:00
agentzh (Yichun Zhang) db978031d2 upgraded the nginx core to 1.2.7. 2013-02-18 12:16:45 -08:00
agentzh (Yichun Zhang) 0a2dcd7c50 added patches for the nginx 1.3.11 core. also excluded the allow_request_body_updating patch. 2013-01-26 20:01:12 -08:00
agentzh (Yichun Zhang) 8e35463045 updated resolver_wev_handler_segfault_with_poll.patch to Ruslan Ermilov's version. 2013-01-23 15:17:04 -08:00
agentzh (Yichun Zhang) fc1929f37d applied the resolver_wev_handler_segfault_with_pol patch to the nginx core 1.2.6 and 1.3.7 by default. see http://mailman.nginx.org/pipermail/nginx-devel/2013-January/003275.html for details. 2013-01-22 17:46:20 -08:00
agentzh (Yichun Zhang) f2b37bbcc7 upgraded the nginx core to 1.2.6. 2012-12-23 17:54:00 -08:00
agentzh (Yichun Zhang) 1f83898d01 applied slab_alloc_no_memory_as_info.patch to lower the log level of the error message "ngx_slab_alloc() failed: no memory" from "crit" to "info". 2012-12-05 20:54:05 -08:00
agentzh (Yichun Zhang) bb4d9b26fe bugfix: the upstream_pipeline patch introduced a regression that when upstream_next is in action, nginx might hang. thanks Kindy Lin for reporting this issue. 2012-12-05 15:16:03 -08:00
agentzh (Yichun Zhang) 2ad093b4fa include the latest bugfixes for LuaJIT 2.0 from the git repository (up to git commit 2ad9834d). 2012-11-28 22:20:03 -08:00
agentzh (Yichun Zhang) 9bd2c1fbc5 checked in the patches for the nginx 1.2.5 core. 2012-11-14 18:46:34 -08:00
agentzh (Yichun Zhang) 8950d4655d added terminal colors to the output of the util/mirror-tarballs script; also added the upstream_test_connect_kqueue patch for nginx 1.3.7. 2012-11-05 21:59:27 -08:00
agentzh (Yichun Zhang) 0e72914300 checked in the upstream_test_connect_kqueue patch for the nginx 1.2.4 core and applied it by default. 2012-11-05 21:29:54 -08:00
agentzh (Yichun Zhang) 1dd6b50740 upgraded patches for nginx 1.3.7. 2012-10-10 23:03:56 -07:00
agentzh (Yichun Zhang) 07a3959dd2 upgraded the nginx core to 1.2.4; also upgraded ngx_lua to 0.7.0. 2012-10-10 18:06:47 -07:00
agentzh (Yichun Zhang) c381151ce7 checked in the new patch channel-uninit-params for nginx 1.2.3 and 1.3.6. 2012-09-17 11:47:04 -07:00
agentzh (Yichun Zhang) e5ba4d313a checked in the patches for nginx 1.3.6. 2012-09-13 15:28:34 -07:00
agentzh (Yichun Zhang) b83fb77107 updated the dtrace patch to include new tapset functions ngx_indent, ngx_http_subreq_depth, and ngx_http_req_parent. 2012-09-10 19:01:38 -07:00
agentzh (Yichun Zhang) 9e9cf9630c removed an extra line from the nonbuffered-upstream-truncation patch. 2012-09-09 21:58:41 -07:00
agentzh (Yichun Zhang) 6a37c9bfdc updated the dtrace patch as well as the nonbuffered-upstream-truncation patch. 2012-09-09 12:53:03 -07:00
agentzh (Yichun Zhang) 84917b7821 updated the dtrace patch to add new static probe create-pool-done. 2012-09-06 15:06:48 -07:00
agentzh (Yichun Zhang) 1a90e3fc91 updated the nonbuffered-upstream-truncation patch to make the error handling more consistent. 2012-09-05 21:15:17 -07:00
agentzh (Yichun Zhang) ac3efbbea8 added the nonbuffered-upstream-truncation patch for nginx 1.2.3 to make ngx_http_upstream provide a way in the context of a subrequest to signal the parent of errors when upstream data truncation happens. thanks Bryan Alger for reporting this issue. 2012-09-05 15:11:52 -07:00