1
0
mirror of https://github.com/openresty/openresty.git synced 2024-10-13 00:29:41 +00:00
Files
FreeBSD
clients
demo
misc
patches
lua-5.1.4-makefile_install_fix.patch
lua-5.1.5-disable_lua50_compat.patch
lua-5.1.5-enable_debug_info.patch
lua-5.1.5-makefile_install_fix.patch
lua_cjson-1.0.2-array_detection_fix.patch
luajit-2.0.0-2ad9834d.patch
nginx-0.8.54-allow_request_body_updating.patch
nginx-0.8.54-named_location_clear_mods_ctx.patch
nginx-0.8.54-no_Werror.patch
nginx-0.8.54-no_error_pages.patch
nginx-0.8.54-redirect_memcpy_overlap.patch
nginx-0.8.54-request_body_in_single_buf.patch
nginx-0.8.54-request_body_preread_fix.patch
nginx-0.8.54-server_header.patch
nginx-0.8.54-subrequest_loop.patch
nginx-0.8.54-variable_header_ignore_no_hash.patch
nginx-1.0.10-allow_request_body_updating.patch
nginx-1.0.10-epoll_check_stale_wev.patch
nginx-1.0.10-gzip_empty_flush_buf.patch
nginx-1.0.10-log_escape_non_ascii.patch
nginx-1.0.10-named_location_clear_mods_ctx.patch
nginx-1.0.10-no_Werror.patch
nginx-1.0.10-no_error_pages.patch
nginx-1.0.10-no_pool.patch
nginx-1.0.10-request_body_in_single_buf.patch
nginx-1.0.10-request_body_preread_fix.patch
nginx-1.0.10-server_header.patch
nginx-1.0.10-subrequest_loop.patch
nginx-1.0.10-variable_header_ignore_no_hash.patch
nginx-1.0.11-allow_request_body_updating.patch
nginx-1.0.11-epoll_check_stale_wev.patch
nginx-1.0.11-gzip_empty_flush_buf.patch
nginx-1.0.11-log_escape_non_ascii.patch
nginx-1.0.11-max_subrequests.patch
nginx-1.0.11-named_location_clear_mods_ctx.patch
nginx-1.0.11-no_Werror.patch
nginx-1.0.11-no_error_pages.patch
nginx-1.0.11-no_pool.patch
nginx-1.0.11-null_character_fixes.patch
nginx-1.0.11-request_body_in_single_buf.patch
nginx-1.0.11-request_body_preread_fix.patch
nginx-1.0.11-server_header.patch
nginx-1.0.11-subrequest_loop.patch
nginx-1.0.11-upstream_pipelining.patch
nginx-1.0.11-variable_header_ignore_no_hash.patch
nginx-1.0.12-allow_request_body_updating.patch
nginx-1.0.12-epoll_check_stale_wev.patch
nginx-1.0.12-gzip_empty_flush_buf.patch
nginx-1.0.12-log_escape_non_ascii.patch
nginx-1.0.12-max_subrequests.patch
nginx-1.0.12-named_location_clear_mods_ctx.patch
nginx-1.0.12-no_Werror.patch
nginx-1.0.12-no_error_pages.patch
nginx-1.0.12-no_pool.patch
nginx-1.0.12-request_body_in_single_buf.patch
nginx-1.0.12-request_body_preread_fix.patch
nginx-1.0.12-server_header.patch
nginx-1.0.12-subrequest_loop.patch
nginx-1.0.12-variable_header_ignore_no_hash.patch
nginx-1.0.14-allow_request_body_updating.patch
nginx-1.0.14-epoll_check_stale_wev.patch
nginx-1.0.14-gzip_empty_flush_buf.patch
nginx-1.0.14-log_escape_non_ascii.patch
nginx-1.0.14-max_subrequests.patch
nginx-1.0.14-named_location_clear_mods_ctx.patch
nginx-1.0.14-no_Werror.patch
nginx-1.0.14-no_error_pages.patch
nginx-1.0.14-no_pool.patch
nginx-1.0.14-null_character_fixes.patch
nginx-1.0.14-request_body_in_single_buf.patch
nginx-1.0.14-request_body_preread_fix.patch
nginx-1.0.14-server_header.patch
nginx-1.0.14-subrequest_loop.patch
nginx-1.0.14-upstream_pipelining.patch
nginx-1.0.14-variable_header_ignore_no_hash.patch
nginx-1.0.15-add_core_vars_polluting_globals.patch
nginx-1.0.15-allow_request_body_updating.patch
nginx-1.0.15-filter_finalize_hang.patch
nginx-1.0.15-gzip_empty_flush_buf.patch
nginx-1.0.15-log_escape_non_ascii.patch
nginx-1.0.15-max_subrequests.patch
nginx-1.0.15-named_location_clear_mods_ctx.patch
nginx-1.0.15-no_Werror.patch
nginx-1.0.15-no_error_pages.patch
nginx-1.0.15-no_pool.patch
nginx-1.0.15-null_character_fixes.patch
nginx-1.0.15-poll_del_event_at_exit.patch
nginx-1.0.15-request_body_in_single_buf.patch
nginx-1.0.15-request_body_preread_fix.patch
nginx-1.0.15-reset_wev_handler_in_named_locations.patch
nginx-1.0.15-resolver_debug_log_overflow.patch
nginx-1.0.15-server_header.patch
nginx-1.0.15-subrequest_loop.patch
nginx-1.0.15-upstream_pipelining.patch
nginx-1.0.15-variable_header_ignore_no_hash.patch
nginx-1.0.4-gcc46_fixes.patch
nginx-1.0.4-no_Werror.patch
nginx-1.0.4-no_error_pages.patch
nginx-1.0.4-no_pool.patch
nginx-1.0.4-request_body_in_single_buf.patch
nginx-1.0.4-request_body_preread_fix.patch
nginx-1.0.4-server_header.patch
nginx-1.0.4-subrequest_loop.patch
nginx-1.0.5-no_Werror.patch
nginx-1.0.5-no_error_pages.patch
nginx-1.0.5-no_pool.patch
nginx-1.0.5-request_body_in_single_buf.patch
nginx-1.0.5-request_body_preread_fix.patch
nginx-1.0.5-server_header.patch
nginx-1.0.5-subrequest_loop.patch
nginx-1.0.6-gzip_empty_flush_buf.patch
nginx-1.0.6-no_Werror.patch
nginx-1.0.6-no_error_pages.patch
nginx-1.0.6-no_pool.patch
nginx-1.0.6-request_body_in_single_buf.patch
nginx-1.0.6-request_body_preread_fix.patch
nginx-1.0.6-server_header.patch
nginx-1.0.6-subrequest_loop.patch
nginx-1.0.6-variable_header_ignore_no_hash.patch
nginx-1.0.8-allow_request_body_updating.patch
nginx-1.0.8-gzip_empty_flush_buf.patch
nginx-1.0.8-named_location_clear_mods_ctx.patch
nginx-1.0.8-no_Werror.patch
nginx-1.0.8-no_error_pages.patch
nginx-1.0.8-no_pool.patch
nginx-1.0.8-request_body_in_single_buf.patch
nginx-1.0.8-request_body_preread_fix.patch
nginx-1.0.8-server_header.patch
nginx-1.0.8-subrequest_loop.patch
nginx-1.0.8-variable_header_ignore_no_hash.patch
nginx-1.0.9-allow_request_body_updating.patch
nginx-1.0.9-epoll_check_stale_wev.patch
nginx-1.0.9-gzip_empty_flush_buf.patch
nginx-1.0.9-log_escape_non_ascii.patch
nginx-1.0.9-named_location_clear_mods_ctx.patch
nginx-1.0.9-no_Werror.patch
nginx-1.0.9-no_error_pages.patch
nginx-1.0.9-no_pool.patch
nginx-1.0.9-request_body_in_single_buf.patch
nginx-1.0.9-request_body_preread_fix.patch
nginx-1.0.9-server_header.patch
nginx-1.0.9-subrequest_loop.patch
nginx-1.0.9-variable_header_ignore_no_hash.patch
nginx-1.1.15-allow_request_body_updating.patch
nginx-1.1.15-gzip_empty_flush_buf.patch
nginx-1.1.15-log_escape_non_ascii.patch
nginx-1.1.15-named_location_clear_mods_ctx.patch
nginx-1.1.15-no_Werror.patch
nginx-1.1.15-no_error_pages.patch
nginx-1.1.15-no_pool.patch
nginx-1.1.15-server_header.patch
nginx-1.1.15-subrequest_loop.patch
nginx-1.1.2-no_error_pages.patch
nginx-1.1.4-variable_header_ignore_no_hash.patch
nginx-1.1.5-named_location_clear_mods_ctx.patch
nginx-1.2.1-add_core_vars_polluting_globals.patch
nginx-1.2.1-allow_request_body_updating.patch
nginx-1.2.1-dtrace.patch
nginx-1.2.1-location_if_inherits_proxy.patch
nginx-1.2.1-log_escape_non_ascii.patch
nginx-1.2.1-no_Werror.patch
nginx-1.2.1-no_error_pages.patch
nginx-1.2.1-no_pool.patch
nginx-1.2.1-poll_del_event_at_exit.patch
nginx-1.2.1-resolver_debug_log_overflow.patch
nginx-1.2.1-server_header.patch
nginx-1.2.1-upstream_pipelining.patch
nginx-1.2.3-allow_request_body_updating.patch
nginx-1.2.3-channel-uninit-params.patch
nginx-1.2.3-dtrace.patch
nginx-1.2.3-location_if_inherits_proxy.patch
nginx-1.2.3-log_escape_non_ascii.patch
nginx-1.2.3-no_Werror.patch
nginx-1.2.3-no_error_pages.patch
nginx-1.2.3-no_pool.patch
nginx-1.2.3-nonbuffered-upstream-truncation.patch
nginx-1.2.3-server_header.patch
nginx-1.2.3-upstream_pipelining.patch
nginx-1.2.4-allow_request_body_updating.patch
nginx-1.2.4-channel-uninit-params.patch
nginx-1.2.4-dtrace.patch
nginx-1.2.4-location_if_inherits_proxy.patch
nginx-1.2.4-log_escape_non_ascii.patch
nginx-1.2.4-no_Werror.patch
nginx-1.2.4-no_error_pages.patch
nginx-1.2.4-no_pool.patch
nginx-1.2.4-nonbuffered-upstream-truncation.patch
nginx-1.2.4-server_header.patch
nginx-1.2.4-slab_alloc_no_memory_as_info.patch
nginx-1.2.4-upstream_pipelining.patch
nginx-1.2.4-upstream_test_connect_kqueue.patch
nginx-1.2.5-allow_request_body_updating.patch
nginx-1.2.5-channel-uninit-params.patch
nginx-1.2.5-dtrace.patch
nginx-1.2.5-location_if_inherits_proxy.patch
nginx-1.2.5-log_escape_non_ascii.patch
nginx-1.2.5-no_Werror.patch
nginx-1.2.5-no_error_pages.patch
nginx-1.2.5-no_pool.patch
nginx-1.2.5-nonbuffered-upstream-truncation.patch
nginx-1.2.5-server_header.patch
nginx-1.2.5-slab_alloc_no_memory_as_info.patch
nginx-1.2.5-upstream_pipelining.patch
nginx-1.2.5-upstream_test_connect_kqueue.patch
nginx-1.2.6-channel-uninit-params.patch
nginx-1.2.6-dtrace.patch
nginx-1.2.6-location_if_inherits_proxy.patch
nginx-1.2.6-log_escape_non_ascii.patch
nginx-1.2.6-no_Werror.patch
nginx-1.2.6-no_error_pages.patch
nginx-1.2.6-no_pool.patch
nginx-1.2.6-nonbuffered-upstream-truncation.patch
nginx-1.2.6-resolver_wev_handler_segfault_with_poll.patch
nginx-1.2.6-server_header.patch
nginx-1.2.6-slab_alloc_no_memory_as_info.patch
nginx-1.2.6-upstream_pipelining.patch
nginx-1.2.7-channel-uninit-params.patch
nginx-1.2.7-cve-2013-2070.patch
nginx-1.2.7-dtrace.patch
nginx-1.2.7-location_if_inherits_proxy.patch
nginx-1.2.7-log_escape_non_ascii.patch
nginx-1.2.7-no_Werror.patch
nginx-1.2.7-no_error_pages.patch
nginx-1.2.7-no_pool.patch
nginx-1.2.7-run_posted_requests_in_resolver.patch
nginx-1.2.7-server_header.patch
nginx-1.2.7-slab_alloc_no_memory_as_info.patch
nginx-1.2.7-upstream_pipelining.patch
nginx-1.2.7-upstream_truncation.patch
nginx-1.2.8-channel-uninit-params.patch
nginx-1.2.8-cve-2013-2070.patch
nginx-1.2.8-dtrace.patch
nginx-1.2.8-invalid_referer_hash.patch
nginx-1.2.8-location_if_inherits_proxy.patch
nginx-1.2.8-log_escape_non_ascii.patch
nginx-1.2.8-no_Werror.patch
nginx-1.2.8-no_error_pages.patch
nginx-1.2.8-no_pool.patch
nginx-1.2.8-server_header.patch
nginx-1.2.8-slab_alloc_no_memory_as_info.patch
nginx-1.2.8-upstream_pipelining.patch
nginx-1.2.8-upstream_truncation.patch
nginx-1.3.0-resolver_debug_log_overflow.patch
nginx-1.3.11-channel-uninit-params.patch
nginx-1.3.11-dtrace.patch
nginx-1.3.11-location_if_inherits_proxy.patch
nginx-1.3.11-log_escape_non_ascii.patch
nginx-1.3.11-no_Werror.patch
nginx-1.3.11-no_error_pages.patch
nginx-1.3.11-no_pool.patch
nginx-1.3.11-nonbuffered-upstream-truncation.patch
nginx-1.3.11-resolver_wev_handler_segfault_with_poll.patch
nginx-1.3.11-server_header.patch
nginx-1.3.11-slab_alloc_no_memory_as_info.patch
nginx-1.3.11-upstream_pipelining.patch
nginx-1.3.11-upstream_test_connect_kqueue.patch
nginx-1.3.4-allow_request_body_updating.patch
nginx-1.3.4-dtrace.patch
nginx-1.3.4-location_if_inherits_proxy.patch
nginx-1.3.4-log_escape_non_ascii.patch
nginx-1.3.4-no_Werror.patch
nginx-1.3.4-no_error_pages.patch
nginx-1.3.4-no_pool.patch
nginx-1.3.4-server_header.patch
nginx-1.3.4-upstream_pipelining.patch
nginx-1.3.6-allow_request_body_updating.patch
nginx-1.3.6-channel-uninit-params.patch
nginx-1.3.6-dtrace.patch
nginx-1.3.6-location_if_inherits_proxy.patch
nginx-1.3.6-log_escape_non_ascii.patch
nginx-1.3.6-no_Werror.patch
nginx-1.3.6-no_error_pages.patch
nginx-1.3.6-no_pool.patch
nginx-1.3.6-nonbuffered-upstream-truncation.patch
nginx-1.3.6-server_header.patch
nginx-1.3.6-upstream_pipelining.patch
nginx-1.3.7-allow_request_body_updating.patch
nginx-1.3.7-channel-uninit-params.patch
nginx-1.3.7-dtrace.patch
nginx-1.3.7-location_if_inherits_proxy.patch
nginx-1.3.7-log_escape_non_ascii.patch
nginx-1.3.7-no_Werror.patch
nginx-1.3.7-no_error_pages.patch
nginx-1.3.7-no_pool.patch
nginx-1.3.7-nonbuffered-upstream-truncation.patch
nginx-1.3.7-resolver_wev_handler_segfault_with_poll.patch
nginx-1.3.7-server_header.patch
nginx-1.3.7-slab_alloc_no_memory_as_info.patch
nginx-1.3.7-upstream_pipelining.patch
nginx-1.3.7-upstream_test_connect_kqueue.patch
nginx-1.4.1-channel-uninit-params.patch
nginx-1.4.1-cve-2013-2070.patch
nginx-1.4.1-dtrace.patch
nginx-1.4.1-gcc-maybe-uninitialized-warning.patch
nginx-1.4.1-invalid_referer_hash.patch
nginx-1.4.1-location_if_inherits_proxy.patch
nginx-1.4.1-log_escape_non_ascii.patch
nginx-1.4.1-no_Werror.patch
nginx-1.4.1-no_error_pages.patch
nginx-1.4.1-no_pool.patch
nginx-1.4.1-server_header.patch
nginx-1.4.1-slab_alloc_no_memory_as_info.patch
nginx-1.4.1-unix_socket_accept_over_read.patch
nginx-1.4.1-upstream_pipelining.patch
nginx-1.4.1-upstream_truncation.patch
nginx-1.4.2-channel-uninit-params.patch
nginx-1.4.2-cve-2013-2070.patch
nginx-1.4.2-dtrace.patch
nginx-1.4.2-gcc-maybe-uninitialized-warning.patch
nginx-1.4.2-invalid_referer_hash.patch
nginx-1.4.2-location_if_inherits_proxy.patch
nginx-1.4.2-log_escape_non_ascii.patch
nginx-1.4.2-no_Werror.patch
nginx-1.4.2-no_error_pages.patch
nginx-1.4.2-no_pool.patch
nginx-1.4.2-server_header.patch
nginx-1.4.2-slab_alloc_no_memory_as_info.patch
nginx-1.4.2-unix_socket_accept_over_read.patch
nginx-1.4.2-upstream_pipelining.patch
nginx-1.4.2-upstream_truncation.patch
nginx-1.4.3-cache_lock_hang_in_subreq.patch
nginx-1.4.3-cache_manager_exit.patch
nginx-1.4.3-channel-uninit-params.patch
nginx-1.4.3-cve-2013-2070.patch
nginx-1.4.3-dtrace.patch
nginx-1.4.3-gcc-maybe-uninitialized-warning.patch
nginx-1.4.3-gzip_buffered_bug.patch
nginx-1.4.3-gzip_flush_bug.patch
nginx-1.4.3-invalid_referer_hash.patch
nginx-1.4.3-larger_max_error_str.patch
nginx-1.4.3-location_if_inherits_proxy.patch
nginx-1.4.3-log_escape_non_ascii.patch
nginx-1.4.3-no_Werror.patch
nginx-1.4.3-no_error_pages.patch
nginx-1.4.3-no_pool.patch
nginx-1.4.3-pcre_conf_opt.patch
nginx-1.4.3-proxy_host_port_vars.patch
nginx-1.4.3-server_header.patch
nginx-1.4.3-slab_alloc_no_memory_as_info.patch
nginx-1.4.3-unix_socket_accept_over_read.patch
nginx-1.4.3-upstream_pipelining.patch
nginx-1.4.3-upstream_truncation.patch
nginx-1.5.11-cache_lock_hang_in_subreq.patch
nginx-1.5.11-cache_manager_exit.patch
nginx-1.5.11-cve-2013-2070.patch
nginx-1.5.11-dtrace.patch
nginx-1.5.11-gcc-maybe-uninitialized-warning.patch
nginx-1.5.11-larger_max_error_str.patch
nginx-1.5.11-location_if_inherits_proxy.patch
nginx-1.5.11-log_escape_non_ascii.patch
nginx-1.5.11-no_Werror.patch
nginx-1.5.11-no_error_pages.patch
nginx-1.5.11-no_pool.patch
nginx-1.5.11-pcre_conf_opt.patch
nginx-1.5.11-proxy_host_port_vars.patch
nginx-1.5.11-server_header.patch
nginx-1.5.11-setting_args_invalidates_uri.patch
nginx-1.5.11-slab_alloc_no_memory_as_info.patch
nginx-1.5.11-upstream_pipelining.patch
nginx-1.5.12-cache_lock_hang_in_subreq.patch
nginx-1.5.12-cache_manager_exit.patch
nginx-1.5.12-cve-2013-2070.patch
nginx-1.5.12-dtrace.patch
nginx-1.5.12-gcc-maybe-uninitialized-warning.patch
nginx-1.5.12-larger_max_error_str.patch
nginx-1.5.12-location_if_inherits_proxy.patch
nginx-1.5.12-log_escape_non_ascii.patch
nginx-1.5.12-no_Werror.patch
nginx-1.5.12-no_error_pages.patch
nginx-1.5.12-no_pool.patch
nginx-1.5.12-pcre_conf_opt.patch
nginx-1.5.12-proxy_host_port_vars.patch
nginx-1.5.12-server_header.patch
nginx-1.5.12-setting_args_invalidates_uri.patch
nginx-1.5.12-slab_alloc_no_memory_as_info.patch
nginx-1.5.12-upstream_pipelining.patch
nginx-1.5.3-cve-2013-2070.patch
nginx-1.5.3-dtrace.patch
nginx-1.5.3-gcc-maybe-uninitialized-warning.patch
nginx-1.5.3-location_if_inherits_proxy.patch
nginx-1.5.3-log_escape_non_ascii.patch
nginx-1.5.3-no_Werror.patch
nginx-1.5.3-no_error_pages.patch
nginx-1.5.3-no_pool.patch
nginx-1.5.3-server_header.patch
nginx-1.5.3-slab_alloc_no_memory_as_info.patch
nginx-1.5.3-unix_socket_accept_over_read.patch
nginx-1.5.3-upstream_pipelining.patch
nginx-1.5.4-cve-2013-2070.patch
nginx-1.5.4-dtrace.patch
nginx-1.5.4-gcc-maybe-uninitialized-warning.patch
nginx-1.5.4-location_if_inherits_proxy.patch
nginx-1.5.4-log_escape_non_ascii.patch
nginx-1.5.4-no_Werror.patch
nginx-1.5.4-no_error_pages.patch
nginx-1.5.4-no_pool.patch
nginx-1.5.4-server_header.patch
nginx-1.5.4-slab_alloc_no_memory_as_info.patch
nginx-1.5.4-unix_socket_accept_over_read.patch
nginx-1.5.4-upstream_pipelining.patch
nginx-1.5.7-cache_lock_hang_in_subreq.patch
nginx-1.5.7-cache_manager_exit.patch
nginx-1.5.7-cve-2013-2070.patch
nginx-1.5.7-dtrace.patch
nginx-1.5.7-gcc-maybe-uninitialized-warning.patch
nginx-1.5.7-larger_max_error_str.patch
nginx-1.5.7-location_if_inherits_proxy.patch
nginx-1.5.7-log_escape_non_ascii.patch
nginx-1.5.7-no_Werror.patch
nginx-1.5.7-no_error_pages.patch
nginx-1.5.7-no_pool.patch
nginx-1.5.7-pcre_conf_opt.patch
nginx-1.5.7-proxy_host_port_vars.patch
nginx-1.5.7-server_header.patch
nginx-1.5.7-slab_alloc_no_memory_as_info.patch
nginx-1.5.7-upstream_pipelining.patch
nginx-1.5.8-cache_lock_hang_in_subreq.patch
nginx-1.5.8-cache_manager_exit.patch
nginx-1.5.8-cve-2013-2070.patch
nginx-1.5.8-dtrace.patch
nginx-1.5.8-gcc-maybe-uninitialized-warning.patch
nginx-1.5.8-larger_max_error_str.patch
nginx-1.5.8-location_if_inherits_proxy.patch
nginx-1.5.8-log_escape_non_ascii.patch
nginx-1.5.8-no_Werror.patch
nginx-1.5.8-no_error_pages.patch
nginx-1.5.8-no_pool.patch
nginx-1.5.8-pcre_conf_opt.patch
nginx-1.5.8-proxy_host_port_vars.patch
nginx-1.5.8-resolve-names-with-a-trailing-dot.patch
nginx-1.5.8-server_header.patch
nginx-1.5.8-setting_args_invalidates_uri.patch
nginx-1.5.8-slab_alloc_no_memory_as_info.patch
nginx-1.5.8-upstream_pipelining.patch
nginx-1.5.9-cache_lock_hang_in_subreq.patch
nginx-1.5.9-cache_manager_exit.patch
nginx-1.5.9-cve-2013-2070.patch
nginx-1.5.9-dtrace.patch
nginx-1.5.9-gcc-maybe-uninitialized-warning.patch
nginx-1.5.9-larger_max_error_str.patch
nginx-1.5.9-location_if_inherits_proxy.patch
nginx-1.5.9-log_escape_non_ascii.patch
nginx-1.5.9-no_Werror.patch
nginx-1.5.9-no_error_pages.patch
nginx-1.5.9-no_pool.patch
nginx-1.5.9-pcre_conf_opt.patch
nginx-1.5.9-proxy_host_port_vars.patch
nginx-1.5.9-server_header.patch
nginx-1.5.9-setting_args_invalidates_uri.patch
nginx-1.5.9-slab_alloc_no_memory_as_info.patch
nginx-1.5.9-upstream_pipelining.patch
nginx-1.7.0-cache_lock_hang_in_subreq.patch
nginx-1.7.0-cache_manager_exit.patch
nginx-1.7.0-dtrace.patch
nginx-1.7.0-gcc-maybe-uninitialized-warning.patch
nginx-1.7.0-larger_max_error_str.patch
nginx-1.7.0-location_if_inherits_proxy.patch
nginx-1.7.0-log_escape_non_ascii.patch
nginx-1.7.0-no_Werror.patch
nginx-1.7.0-no_error_pages.patch
nginx-1.7.0-no_pool.patch
nginx-1.7.0-pcre_conf_opt.patch
nginx-1.7.0-proxy_host_port_vars.patch
nginx-1.7.0-server_header.patch
nginx-1.7.0-setting_args_invalidates_uri.patch
nginx-1.7.0-slab_defrag.patch
nginx-1.7.0-upstream_pipelining.patch
nginx-1.7.2-cache_lock_hang_in_subreq.patch
nginx-1.7.2-cache_manager_exit.patch
nginx-1.7.2-dtrace.patch
nginx-1.7.2-gcc-maybe-uninitialized-warning.patch
nginx-1.7.2-larger_max_error_str.patch
nginx-1.7.2-location_if_inherits_proxy.patch
nginx-1.7.2-log_escape_non_ascii.patch
nginx-1.7.2-no_Werror.patch
nginx-1.7.2-no_error_pages.patch
nginx-1.7.2-no_pool.patch
nginx-1.7.2-pcre_conf_opt.patch
nginx-1.7.2-proxy_host_port_vars.patch
nginx-1.7.2-server_header.patch
nginx-1.7.2-setting_args_invalidates_uri.patch
nginx-1.7.2-slab_defrag.patch
nginx-1.7.2-upstream_pipelining.patch
nginx-1.7.3-cache_lock_hang_in_subreq.patch
nginx-1.7.3-cache_manager_exit.patch
nginx-1.7.3-dtrace.patch
nginx-1.7.3-gcc-maybe-uninitialized-warning.patch
nginx-1.7.3-geoip_init_var_fields.patch
nginx-1.7.3-larger_max_error_str.patch
nginx-1.7.3-location_if_inherits_proxy.patch
nginx-1.7.3-log_escape_non_ascii.patch
nginx-1.7.3-no_Werror.patch
nginx-1.7.3-no_error_pages.patch
nginx-1.7.3-no_pool.patch
nginx-1.7.3-pcre_conf_opt.patch
nginx-1.7.3-proxy_host_port_vars.patch
nginx-1.7.3-proxy_ssl_handshake_timer.patch
nginx-1.7.3-server_header.patch
nginx-1.7.3-setting_args_invalidates_uri.patch
nginx-1.7.3-slab_defrag.patch
nginx-1.7.3-upstream_pipelining.patch
nginx-1.7.4-cache_lock_hang_in_subreq.patch
nginx-1.7.4-cache_manager_exit.patch
nginx-1.7.4-dtrace.patch
nginx-1.7.4-gcc-maybe-uninitialized-warning.patch
nginx-1.7.4-larger_max_error_str.patch
nginx-1.7.4-location_if_inherits_proxy.patch
nginx-1.7.4-log_escape_non_ascii.patch
nginx-1.7.4-no_Werror.patch
nginx-1.7.4-no_error_pages.patch
nginx-1.7.4-no_pool.patch
nginx-1.7.4-pcre_conf_opt.patch
nginx-1.7.4-proxy_host_port_vars.patch
nginx-1.7.4-server_header.patch
nginx-1.7.4-setting_args_invalidates_uri.patch
nginx-1.7.4-slab_defrag.patch
nginx-1.7.4-upstream_pipelining.patch
nginx-1.7.5-cache_lock_hang_in_subreq.patch
nginx-1.7.5-cache_manager_exit.patch
nginx-1.7.5-dtrace.patch
nginx-1.7.5-gcc-maybe-uninitialized-warning.patch
nginx-1.7.5-hash_overflow.patch
nginx-1.7.5-larger_max_error_str.patch
nginx-1.7.5-location_if_inherits_proxy.patch
nginx-1.7.5-log_escape_non_ascii.patch
nginx-1.7.5-no_Werror.patch
nginx-1.7.5-no_error_pages.patch
nginx-1.7.5-no_pool.patch
nginx-1.7.5-pcre_conf_opt.patch
nginx-1.7.5-proxy_host_port_vars.patch
nginx-1.7.5-resolver_del_event_invalid_read.patch
nginx-1.7.5-server_header.patch
nginx-1.7.5-setting_args_invalidates_uri.patch
nginx-1.7.5-slab_defrag.patch
nginx-1.7.5-upstream_pipelining.patch
nginx-1.7.7-cache_lock_hang_in_subreq.patch
nginx-1.7.7-cache_manager_exit.patch
nginx-1.7.7-dtrace.patch
nginx-1.7.7-gcc-maybe-uninitialized-warning.patch
nginx-1.7.7-hash_overflow.patch
nginx-1.7.7-larger_max_error_str.patch
nginx-1.7.7-location_if_inherits_proxy.patch
nginx-1.7.7-log_escape_non_ascii.patch
nginx-1.7.7-no_Werror.patch
nginx-1.7.7-no_error_pages.patch
nginx-1.7.7-no_pool.patch
nginx-1.7.7-pcre_conf_opt.patch
nginx-1.7.7-proxy_host_port_vars.patch
nginx-1.7.7-resolver_del_event_invalid_read.patch
nginx-1.7.7-server_header.patch
nginx-1.7.7-setting_args_invalidates_uri.patch
nginx-1.7.7-slab_defrag.patch
nginx-1.7.7-upstream_pipelining.patch
ngx_http_redis-0.3.6-variables_in_redis_pass.patch
ngx_http_redis-0.3.7-variables_in_redis_pass.patch
patch.2013.space.txt
patch.2014.spdy2.txt
specs
t
util
.gitignore
Makefile
README.markdown
openresty/patches/nginx-1.7.3-no_pool.patch
2014-07-13 20:35:52 -07:00

586 lines
14 KiB
Diff

diff --minimal '--exclude=*.swp' '--exclude=*~' -up nginx-1.7.3/src/core/nginx.h nginx-1.7.3-patched/src/core/nginx.h
--- nginx-1.7.3/src/core/nginx.h 2014-07-08 06:22:39.000000000 -0700
+++ nginx-1.7.3-patched/src/core/nginx.h 2014-07-13 19:21:54.117099631 -0700
@@ -10,7 +10,7 @@
#define nginx_version 1007003
#define NGINX_VERSION "1.7.3"
-#define NGINX_VER "openresty/" NGINX_VERSION ".unknown"
+#define NGINX_VER "openresty/" NGINX_VERSION ".unknown (no pool)"
#ifdef NGX_BUILD
diff --minimal '--exclude=*.swp' '--exclude=*~' -up nginx-1.7.3/src/core/ngx_array.c nginx-1.7.3-patched/src/core/ngx_array.c
--- nginx-1.7.3/src/core/ngx_array.c 2014-07-08 06:22:39.000000000 -0700
+++ nginx-1.7.3-patched/src/core/ngx_array.c 2014-07-13 19:21:54.117099631 -0700
@@ -30,26 +30,30 @@ ngx_array_create(ngx_pool_t *p, ngx_uint
void
ngx_array_destroy(ngx_array_t *a)
{
- ngx_pool_t *p;
+ ngx_pool_t *p;
+ ngx_array_link_t *link;
p = a->pool;
- if ((u_char *) a->elts + a->size * a->nalloc == p->d.last) {
- p->d.last -= a->size * a->nalloc;
+ if (a->elts) {
+ ngx_pfree(p, a->elts);
}
- if ((u_char *) a + sizeof(ngx_array_t) == p->d.last) {
- p->d.last = (u_char *) a;
+ for (link = a->old_elts; link; link = link->next) {
+ ngx_pfree(p, link->elts);
}
+
+ ngx_pfree(p, a);
}
void *
ngx_array_push(ngx_array_t *a)
{
- void *elt, *new;
- size_t size;
- ngx_pool_t *p;
+ void *elt, *new;
+ size_t size;
+ ngx_pool_t *p;
+ ngx_array_link_t *link;
if (a->nelts == a->nalloc) {
@@ -59,29 +63,27 @@ ngx_array_push(ngx_array_t *a)
p = a->pool;
- if ((u_char *) a->elts + size == p->d.last
- && p->d.last + a->size <= p->d.end)
- {
- /*
- * the array allocation is the last in the pool
- * and there is space for new allocation
- */
-
- p->d.last += a->size;
- a->nalloc++;
+ /* allocate a new array */
- } else {
- /* allocate a new array */
+ new = ngx_palloc(p, 2 * size);
+ if (new == NULL) {
+ return NULL;
+ }
- new = ngx_palloc(p, 2 * size);
- if (new == NULL) {
- return NULL;
- }
+ ngx_memcpy(new, a->elts, size);
- ngx_memcpy(new, a->elts, size);
- a->elts = new;
- a->nalloc *= 2;
+ link = ngx_palloc(p, sizeof(ngx_array_link_t));
+ if (link == NULL) {
+ ngx_pfree(p, new);
+ return NULL;
}
+
+ link->next = a->old_elts;
+ link->elts = a->elts;
+ a->old_elts = link;
+
+ a->elts = new;
+ a->nalloc *= 2;
}
elt = (u_char *) a->elts + a->size * a->nelts;
@@ -95,11 +97,10 @@ void *
ngx_array_push_n(ngx_array_t *a, ngx_uint_t n)
{
void *elt, *new;
- size_t size;
ngx_uint_t nalloc;
ngx_pool_t *p;
- size = n * a->size;
+ ngx_array_link_t *link;
if (a->nelts + n > a->nalloc) {
@@ -107,31 +108,27 @@ ngx_array_push_n(ngx_array_t *a, ngx_uin
p = a->pool;
- if ((u_char *) a->elts + a->size * a->nalloc == p->d.last
- && p->d.last + size <= p->d.end)
- {
- /*
- * the array allocation is the last in the pool
- * and there is space for new allocation
- */
+ nalloc = 2 * ((n >= a->nalloc) ? n : a->nalloc);
- p->d.last += size;
- a->nalloc += n;
+ new = ngx_palloc(p, nalloc * a->size);
+ if (new == NULL) {
+ return NULL;
+ }
- } else {
- /* allocate a new array */
+ ngx_memcpy(new, a->elts, a->nelts * a->size);
- nalloc = 2 * ((n >= a->nalloc) ? n : a->nalloc);
+ link = ngx_palloc(p, sizeof(ngx_array_link_t));
+ if (link == NULL) {
+ ngx_pfree(p, new);
+ return NULL;
+ }
- new = ngx_palloc(p, nalloc * a->size);
- if (new == NULL) {
- return NULL;
- }
+ link->next = a->old_elts;
+ link->elts = a->elts;
+ a->old_elts = link;
- ngx_memcpy(new, a->elts, a->nelts * a->size);
- a->elts = new;
- a->nalloc = nalloc;
- }
+ a->elts = new;
+ a->nalloc = nalloc;
}
elt = (u_char *) a->elts + a->size * a->nelts;
diff --minimal '--exclude=*.swp' '--exclude=*~' -up nginx-1.7.3/src/core/ngx_array.h nginx-1.7.3-patched/src/core/ngx_array.h
--- nginx-1.7.3/src/core/ngx_array.h 2014-07-08 06:22:39.000000000 -0700
+++ nginx-1.7.3-patched/src/core/ngx_array.h 2014-07-13 19:21:54.118099637 -0700
@@ -13,12 +13,23 @@
#include <ngx_core.h>
+typedef struct ngx_array_link_s ngx_array_link_t;
+
+
+struct ngx_array_link_s {
+ void *elts;
+ ngx_array_link_t *next;
+};
+
+
typedef struct {
void *elts;
ngx_uint_t nelts;
size_t size;
ngx_uint_t nalloc;
ngx_pool_t *pool;
+
+ ngx_array_link_t *old_elts;
} ngx_array_t;
@@ -40,6 +51,7 @@ ngx_array_init(ngx_array_t *array, ngx_p
array->size = size;
array->nalloc = n;
array->pool = pool;
+ array->old_elts = NULL;
array->elts = ngx_palloc(pool, n * size);
if (array->elts == NULL) {
diff --minimal '--exclude=*.swp' '--exclude=*~' -up nginx-1.7.3/src/core/ngx_palloc.c nginx-1.7.3-patched/src/core/ngx_palloc.c
--- nginx-1.7.3/src/core/ngx_palloc.c 2014-07-08 06:22:39.000000000 -0700
+++ nginx-1.7.3-patched/src/core/ngx_palloc.c 2014-07-13 20:04:41.786419098 -0700
@@ -9,32 +9,26 @@
#include <ngx_core.h>
-static void *ngx_palloc_block(ngx_pool_t *pool, size_t size);
-static void *ngx_palloc_large(ngx_pool_t *pool, size_t size);
+static void * ngx_malloc(ngx_pool_t *pool, size_t size);
ngx_pool_t *
ngx_create_pool(size_t size, ngx_log_t *log)
{
- ngx_pool_t *p;
+ ngx_pool_t *p;
- p = ngx_memalign(NGX_POOL_ALIGNMENT, size, log);
+ size = sizeof(ngx_pool_t);
+ p = ngx_alloc(size, log);
if (p == NULL) {
return NULL;
}
- p->d.last = (u_char *) p + sizeof(ngx_pool_t);
- p->d.end = (u_char *) p + size;
- p->d.next = NULL;
- p->d.failed = 0;
+ ngx_memzero(p, size);
size = size - sizeof(ngx_pool_t);
p->max = (size < NGX_MAX_ALLOC_FROM_POOL) ? size : NGX_MAX_ALLOC_FROM_POOL;
p->current = p;
- p->chain = NULL;
- p->large = NULL;
- p->cleanup = NULL;
p->log = log;
return p;
@@ -44,8 +38,7 @@ ngx_create_pool(size_t size, ngx_log_t *
void
ngx_destroy_pool(ngx_pool_t *pool)
{
- ngx_pool_t *p, *n;
- ngx_pool_large_t *l;
+ ngx_pool_data_t *d, *n;
ngx_pool_cleanup_t *c;
for (c = pool->cleanup; c; c = c->next) {
@@ -56,13 +49,9 @@ ngx_destroy_pool(ngx_pool_t *pool)
}
}
- for (l = pool->large; l; l = l->next) {
-
- ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0, "free: %p", l->alloc);
-
- if (l->alloc) {
- ngx_free(l->alloc);
- }
+ if (pool->d == NULL) {
+ ngx_free(pool);
+ return;
}
#if (NGX_DEBUG)
@@ -72,9 +61,9 @@ ngx_destroy_pool(ngx_pool_t *pool)
* so we cannot use this log while free()ing the pool
*/
- for (p = pool, n = pool->d.next; /* void */; p = n, n = n->d.next) {
+ for (d = pool->d, n = d->next; ; d = n, n = n->next) {
ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, pool->log, 0,
- "free: %p, unused: %uz", p, p->d.end - p->d.last);
+ "free: %p, unused: %d", d, 0);
if (n == NULL) {
break;
@@ -83,170 +72,82 @@ ngx_destroy_pool(ngx_pool_t *pool)
#endif
- for (p = pool, n = pool->d.next; /* void */; p = n, n = n->d.next) {
- ngx_free(p);
+ for (d = pool->d, n = d->next; ; d = n, n = n->next) {
+ ngx_free(d->alloc);
+ ngx_free(d);
if (n == NULL) {
break;
}
}
+
+ pool->d = NULL;
+ ngx_free(pool);
}
void
ngx_reset_pool(ngx_pool_t *pool)
{
- ngx_pool_t *p;
- ngx_pool_large_t *l;
+ ngx_pool_data_t *d, *n;
+ ngx_pool_data_t *saved = NULL;
- for (l = pool->large; l; l = l->next) {
- if (l->alloc) {
- ngx_free(l->alloc);
+ if (pool->d) {
+ for (d = pool->d, n = d->next; ; d = n, n = n->next) {
+ if (d->alloc == pool->log) {
+ saved = d;
+ continue;
+ }
+
+ ngx_free(d->alloc);
+ ngx_free(d);
+
+ if (n == NULL) {
+ break;
+ }
}
- }
- for (p = pool; p; p = p->d.next) {
- p->d.last = (u_char *) p + sizeof(ngx_pool_t);
- p->d.failed = 0;
+ pool->d = saved;
+ pool->current = pool;
+ pool->chain = NULL;
}
-
- pool->current = pool;
- pool->chain = NULL;
- pool->large = NULL;
}
void *
ngx_palloc(ngx_pool_t *pool, size_t size)
{
- u_char *m;
- ngx_pool_t *p;
-
- if (size <= pool->max) {
-
- p = pool->current;
-
- do {
- m = ngx_align_ptr(p->d.last, NGX_ALIGNMENT);
-
- if ((size_t) (p->d.end - m) >= size) {
- p->d.last = m + size;
-
- return m;
- }
-
- p = p->d.next;
-
- } while (p);
-
- return ngx_palloc_block(pool, size);
- }
-
- return ngx_palloc_large(pool, size);
+ return ngx_malloc(pool, size);
}
void *
ngx_pnalloc(ngx_pool_t *pool, size_t size)
{
- u_char *m;
- ngx_pool_t *p;
-
- if (size <= pool->max) {
-
- p = pool->current;
-
- do {
- m = p->d.last;
-
- if ((size_t) (p->d.end - m) >= size) {
- p->d.last = m + size;
-
- return m;
- }
-
- p = p->d.next;
-
- } while (p);
-
- return ngx_palloc_block(pool, size);
- }
-
- return ngx_palloc_large(pool, size);
-}
-
-
-static void *
-ngx_palloc_block(ngx_pool_t *pool, size_t size)
-{
- u_char *m;
- size_t psize;
- ngx_pool_t *p, *new;
-
- psize = (size_t) (pool->d.end - (u_char *) pool);
-
- m = ngx_memalign(NGX_POOL_ALIGNMENT, psize, pool->log);
- if (m == NULL) {
- return NULL;
- }
-
- new = (ngx_pool_t *) m;
-
- new->d.end = m + psize;
- new->d.next = NULL;
- new->d.failed = 0;
-
- m += sizeof(ngx_pool_data_t);
- m = ngx_align_ptr(m, NGX_ALIGNMENT);
- new->d.last = m + size;
-
- for (p = pool->current; p->d.next; p = p->d.next) {
- if (p->d.failed++ > 4) {
- pool->current = p->d.next;
- }
- }
-
- p->d.next = new;
-
- return m;
+ return ngx_malloc(pool, size);
}
static void *
-ngx_palloc_large(ngx_pool_t *pool, size_t size)
+ngx_malloc(ngx_pool_t *pool, size_t size)
{
- void *p;
- ngx_uint_t n;
- ngx_pool_large_t *large;
+ void *p;
+ ngx_pool_data_t *d;
p = ngx_alloc(size, pool->log);
if (p == NULL) {
return NULL;
}
- n = 0;
-
- for (large = pool->large; large; large = large->next) {
- if (large->alloc == NULL) {
- large->alloc = p;
- return p;
- }
-
- if (n++ > 3) {
- break;
- }
- }
-
- large = ngx_palloc(pool, sizeof(ngx_pool_large_t));
- if (large == NULL) {
+ d = ngx_alloc(sizeof(ngx_pool_data_t), pool->log);
+ if (d == NULL){
ngx_free(p);
return NULL;
}
- large->alloc = p;
- large->next = pool->large;
- pool->large = large;
-
+ d->alloc = p;
+ d->next = pool->d;
+ pool->d = d;
return p;
}
@@ -255,38 +156,48 @@ void *
ngx_pmemalign(ngx_pool_t *pool, size_t size, size_t alignment)
{
void *p;
- ngx_pool_large_t *large;
+ ngx_pool_data_t *d;
p = ngx_memalign(alignment, size, pool->log);
if (p == NULL) {
return NULL;
}
- large = ngx_palloc(pool, sizeof(ngx_pool_large_t));
- if (large == NULL) {
+ d = ngx_alloc(sizeof(ngx_pool_data_t), pool->log);
+ if (d == NULL){
ngx_free(p);
return NULL;
}
- large->alloc = p;
- large->next = pool->large;
- pool->large = large;
-
+ d->alloc = p;
+ d->next = pool->d;
+ pool->d = d;
return p;
}
ngx_int_t
-ngx_pfree(ngx_pool_t *pool, void *p)
+ngx_pfree(ngx_pool_t *pool, void *data)
{
- ngx_pool_large_t *l;
+ ngx_pool_data_t *p, *d;
- for (l = pool->large; l; l = l->next) {
- if (p == l->alloc) {
- ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0,
- "free: %p", l->alloc);
- ngx_free(l->alloc);
- l->alloc = NULL;
+ p = NULL;
+ for (d = pool->d; d; p = d, d = d->next) {
+ if (data == d->alloc) {
+
+ ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0, "free: %p", d->alloc);
+
+ ngx_free(d->alloc);
+ d->alloc = NULL;
+
+ if (p) {
+ p->next = d->next;
+
+ } else {
+ pool->d = d->next;
+ }
+
+ ngx_free(d);
return NGX_OK;
}
diff --minimal '--exclude=*.swp' '--exclude=*~' -up nginx-1.7.3/src/core/ngx_palloc.h nginx-1.7.3-patched/src/core/ngx_palloc.h
--- nginx-1.7.3/src/core/ngx_palloc.h 2014-07-08 06:22:39.000000000 -0700
+++ nginx-1.7.3-patched/src/core/ngx_palloc.h 2014-07-13 19:21:54.119099642 -0700
@@ -38,28 +38,21 @@ struct ngx_pool_cleanup_s {
};
-typedef struct ngx_pool_large_s ngx_pool_large_t;
-
-struct ngx_pool_large_s {
- ngx_pool_large_t *next;
- void *alloc;
-};
+typedef struct ngx_pool_data_s ngx_pool_large_t;
+typedef struct ngx_pool_data_s ngx_pool_data_t;
-typedef struct {
- u_char *last;
- u_char *end;
- ngx_pool_t *next;
- ngx_uint_t failed;
-} ngx_pool_data_t;
+struct ngx_pool_data_s {
+ ngx_pool_data_t *next;
+ void *alloc;
+};
struct ngx_pool_s {
- ngx_pool_data_t d;
+ ngx_pool_data_t *d;
size_t max;
ngx_pool_t *current;
ngx_chain_t *chain;
- ngx_pool_large_t *large;
ngx_pool_cleanup_t *cleanup;
ngx_log_t *log;
};