1
0
mirror of https://github.com/openresty/openresty.git synced 2024-10-13 00:29:41 +00:00
Files
.github
FreeBSD
clients
demo
doc
html
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
luajit-win32-default-paths.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.11.2-always_enable_cc_feature_tests.patch
nginx-1.11.2-balancer_status_code.patch
nginx-1.11.2-builtin_error_page_footer.patch
nginx-1.11.2-cache_manager_exit.patch
nginx-1.11.2-delayed_posted_events.patch
nginx-1.11.2-dtrace.patch
nginx-1.11.2-gcc-maybe-uninitialized-warning.patch
nginx-1.11.2-hash_overflow.patch
nginx-1.11.2-intercept_error_log.patch
nginx-1.11.2-larger_max_error_str.patch
nginx-1.11.2-log_escape_non_ascii.patch
nginx-1.11.2-no_Werror.patch
nginx-1.11.2-no_error_pages.patch
nginx-1.11.2-no_pool.patch
nginx-1.11.2-pcre_conf_opt.patch
nginx-1.11.2-privileged_agent_process.patch
nginx-1.11.2-proxy_host_port_vars.patch
nginx-1.11.2-safe_resolver_ipv6_option.patch
nginx-1.11.2-server_header.patch
nginx-1.11.2-setting_args_invalidates_uri.patch
nginx-1.11.2-single_process_graceful_exit.patch
nginx-1.11.2-slab_defrag.patch
nginx-1.11.2-ssl_cert_cb_yield.patch
nginx-1.11.2-ssl_pending_session.patch
nginx-1.11.2-upstream_pipelining.patch
nginx-1.11.2-upstream_timeout_fields.patch
nginx-1.13.3-always_enable_cc_feature_tests.patch
nginx-1.13.3-balancer_status_code.patch
nginx-1.13.3-builtin_error_page_footer.patch
nginx-1.13.3-cache_manager_exit.patch
nginx-1.13.3-delayed_posted_events.patch
nginx-1.13.3-dtrace.patch
nginx-1.13.3-gcc-maybe-uninitialized-warning.patch
nginx-1.13.3-hash_overflow.patch
nginx-1.13.3-intercept_error_log.patch
nginx-1.13.3-larger_max_error_str.patch
nginx-1.13.3-log_escape_non_ascii.patch
nginx-1.13.3-no_Werror.patch
nginx-1.13.3-no_error_pages.patch
nginx-1.13.3-no_pool.patch
nginx-1.13.3-pcre_conf_opt.patch
nginx-1.13.3-privileged_agent_process.patch
nginx-1.13.3-proxy_host_port_vars.patch
nginx-1.13.3-safe_resolver_ipv6_option.patch
nginx-1.13.3-server_header.patch
nginx-1.13.3-setting_args_invalidates_uri.patch
nginx-1.13.3-single_process_graceful_exit.patch
nginx-1.13.3-slab_defrag.patch
nginx-1.13.3-ssl_cert_cb_yield.patch
nginx-1.13.3-ssl_pending_session.patch
nginx-1.13.3-stream_balancer_export.patch
nginx-1.13.3-stream_proxy_get_next_upstream_tries.patch
nginx-1.13.3-stream_proxy_timeout_fields.patch
nginx-1.13.3-upstream_pipelining.patch
nginx-1.13.3-upstream_timeout_fields.patch
nginx-1.13.4-always_enable_cc_feature_tests.patch
nginx-1.13.4-balancer_status_code.patch
nginx-1.13.4-builtin_error_page_footer.patch
nginx-1.13.4-cache_manager_exit.patch
nginx-1.13.4-delayed_posted_events.patch
nginx-1.13.4-dtrace.patch
nginx-1.13.4-gcc-maybe-uninitialized-warning.patch
nginx-1.13.4-hash_overflow.patch
nginx-1.13.4-intercept_error_log.patch
nginx-1.13.4-larger_max_error_str.patch
nginx-1.13.4-log_escape_non_ascii.patch
nginx-1.13.4-no_Werror.patch
nginx-1.13.4-no_error_pages.patch
nginx-1.13.4-no_pool.patch
nginx-1.13.4-pcre_conf_opt.patch
nginx-1.13.4-privileged_agent_process.patch
nginx-1.13.4-proxy_host_port_vars.patch
nginx-1.13.4-safe_resolver_ipv6_option.patch
nginx-1.13.4-server_header.patch
nginx-1.13.4-setting_args_invalidates_uri.patch
nginx-1.13.4-single_process_graceful_exit.patch
nginx-1.13.4-slab_defrag.patch
nginx-1.13.4-ssl_cert_cb_yield.patch
nginx-1.13.4-ssl_pending_session.patch
nginx-1.13.4-stream_balancer_export.patch
nginx-1.13.4-stream_proxy_get_next_upstream_tries.patch
nginx-1.13.4-stream_proxy_timeout_fields.patch
nginx-1.13.4-upstream_pipelining.patch
nginx-1.13.4-upstream_timeout_fields.patch
nginx-1.13.5-always_enable_cc_feature_tests.patch
nginx-1.13.5-balancer_status_code.patch
nginx-1.13.5-builtin_error_page_footer.patch
nginx-1.13.5-cache_manager_exit.patch
nginx-1.13.5-delayed_posted_events.patch
nginx-1.13.5-dtrace.patch
nginx-1.13.5-gcc-maybe-uninitialized-warning.patch
nginx-1.13.5-hash_overflow.patch
nginx-1.13.5-intercept_error_log.patch
nginx-1.13.5-larger_max_error_str.patch
nginx-1.13.5-log_escape_non_ascii.patch
nginx-1.13.5-no_Werror.patch
nginx-1.13.5-no_error_pages.patch
nginx-1.13.5-no_pool.patch
nginx-1.13.5-pcre_conf_opt.patch
nginx-1.13.5-privileged_agent_process.patch
nginx-1.13.5-proxy_host_port_vars.patch
nginx-1.13.5-safe_resolver_ipv6_option.patch
nginx-1.13.5-server_header.patch
nginx-1.13.5-setting_args_invalidates_uri.patch
nginx-1.13.5-single_process_graceful_exit.patch
nginx-1.13.5-ssl_cert_cb_yield.patch
nginx-1.13.5-ssl_pending_session.patch
nginx-1.13.5-stream_balancer_export.patch
nginx-1.13.5-stream_proxy_get_next_upstream_tries.patch
nginx-1.13.5-stream_proxy_timeout_fields.patch
nginx-1.13.5-upstream_pipelining.patch
nginx-1.13.5-upstream_timeout_fields.patch
nginx-1.13.6-always_enable_cc_feature_tests.patch
nginx-1.13.6-balancer_status_code.patch
nginx-1.13.6-builtin_error_page_footer.patch
nginx-1.13.6-cache_manager_exit.patch
nginx-1.13.6-daemon_destroy_pool.patch
nginx-1.13.6-delayed_posted_events.patch
nginx-1.13.6-dtrace.patch
nginx-1.13.6-gcc-maybe-uninitialized-warning.patch
nginx-1.13.6-hash_overflow.patch
nginx-1.13.6-init_cycle_pool_release.patch
nginx-1.13.6-intercept_error_log.patch
nginx-1.13.6-larger_max_error_str.patch
nginx-1.13.6-log_escape_non_ascii.patch
nginx-1.13.6-no_Werror.patch
nginx-1.13.6-no_error_pages.patch
nginx-1.13.6-no_pool.patch
nginx-1.13.6-pcre_conf_opt.patch
nginx-1.13.6-privileged_agent_process.patch
nginx-1.13.6-proxy_host_port_vars.patch
nginx-1.13.6-resolver_conf_parsing.patch
nginx-1.13.6-safe_resolver_ipv6_option.patch
nginx-1.13.6-server_header.patch
nginx-1.13.6-setting_args_invalidates_uri.patch
nginx-1.13.6-single_process_graceful_exit.patch
nginx-1.13.6-socket_cloexec.patch
nginx-1.13.6-ssl_cert_cb_yield.patch
nginx-1.13.6-ssl_pending_session.patch
nginx-1.13.6-stream_balancer_export.patch
nginx-1.13.6-stream_proxy_get_next_upstream_tries.patch
nginx-1.13.6-stream_proxy_timeout_fields.patch
nginx-1.13.6-stream_ssl_preread_no_skip.patch
nginx-1.13.6-upstream_pipelining.patch
nginx-1.13.6-upstream_timeout_fields.patch
nginx-1.13.8-balancer_status_code.patch
nginx-1.13.8-stream_ssl_preread_no_skip.patch
nginx-1.15.5-always_enable_cc_feature_tests.patch
nginx-1.15.5-balancer_status_code.patch
nginx-1.15.5-builtin_error_page_footer.patch
nginx-1.15.5-cache_manager_exit.patch
nginx-1.15.5-daemon_destroy_pool.patch
nginx-1.15.5-delayed_posted_events.patch
nginx-1.15.5-dtrace.patch
nginx-1.15.5-gcc-maybe-uninitialized-warning.patch
nginx-1.15.5-hash_overflow.patch
nginx-1.15.5-init_cycle_pool_release.patch
nginx-1.15.5-intercept_error_log.patch
nginx-1.15.5-larger_max_error_str.patch
nginx-1.15.5-log_escape_non_ascii.patch
nginx-1.15.5-no_Werror.patch
nginx-1.15.5-no_error_pages.patch
nginx-1.15.5-no_pool.patch
nginx-1.15.5-pcre_conf_opt.patch
nginx-1.15.5-privileged_agent_process.patch
nginx-1.15.5-proxy_host_port_vars.patch
nginx-1.15.5-resolver_conf_parsing.patch
nginx-1.15.5-safe_resolver_ipv6_option.patch
nginx-1.15.5-server_header.patch
nginx-1.15.5-setting_args_invalidates_uri.patch
nginx-1.15.5-single_process_graceful_exit.patch
nginx-1.15.5-socket_cloexec.patch
nginx-1.15.5-ssl_cert_cb_yield.patch
nginx-1.15.5-ssl_pending_session.patch
nginx-1.15.5-stream_balancer_export.patch
nginx-1.15.5-stream_proxy_get_next_upstream_tries.patch
nginx-1.15.5-stream_proxy_timeout_fields.patch
nginx-1.15.5-stream_ssl_preread_no_skip.patch
nginx-1.15.5-upstream_pipelining.patch
nginx-1.15.5-upstream_timeout_fields.patch
nginx-1.15.6-always_enable_cc_feature_tests.patch
nginx-1.15.6-balancer_status_code.patch
nginx-1.15.6-builtin_error_page_footer.patch
nginx-1.15.6-cache_manager_exit.patch
nginx-1.15.6-daemon_destroy_pool.patch
nginx-1.15.6-delayed_posted_events.patch
nginx-1.15.6-dtrace.patch
nginx-1.15.6-gcc-maybe-uninitialized-warning.patch
nginx-1.15.6-hash_overflow.patch
nginx-1.15.6-init_cycle_pool_release.patch
nginx-1.15.6-intercept_error_log.patch
nginx-1.15.6-larger_max_error_str.patch
nginx-1.15.6-log_escape_non_ascii.patch
nginx-1.15.6-no_Werror.patch
nginx-1.15.6-no_error_pages.patch
nginx-1.15.6-no_pool.patch
nginx-1.15.6-pcre_conf_opt.patch
nginx-1.15.6-privileged_agent_process.patch
nginx-1.15.6-proxy_host_port_vars.patch
nginx-1.15.6-resolver_conf_parsing.patch
nginx-1.15.6-safe_resolver_ipv6_option.patch
nginx-1.15.6-server_header.patch
nginx-1.15.6-setting_args_invalidates_uri.patch
nginx-1.15.6-single_process_graceful_exit.patch
nginx-1.15.6-socket_cloexec.patch
nginx-1.15.6-ssl_cert_cb_yield.patch
nginx-1.15.6-ssl_pending_session.patch
nginx-1.15.6-stream_balancer_export.patch
nginx-1.15.6-stream_proxy_get_next_upstream_tries.patch
nginx-1.15.6-stream_proxy_timeout_fields.patch
nginx-1.15.6-stream_ssl_preread_no_skip.patch
nginx-1.15.6-upstream_pipelining.patch
nginx-1.15.6-upstream_timeout_fields.patch
nginx-1.15.8-always_enable_cc_feature_tests.patch
nginx-1.15.8-balancer_status_code.patch
nginx-1.15.8-builtin_error_page_footer.patch
nginx-1.15.8-cache_manager_exit.patch
nginx-1.15.8-daemon_destroy_pool.patch
nginx-1.15.8-delayed_posted_events.patch
nginx-1.15.8-dtrace.patch
nginx-1.15.8-gcc-maybe-uninitialized-warning.patch
nginx-1.15.8-hash_overflow.patch
nginx-1.15.8-init_cycle_pool_release.patch
nginx-1.15.8-intercept_error_log.patch
nginx-1.15.8-larger_max_error_str.patch
nginx-1.15.8-log_escape_non_ascii.patch
nginx-1.15.8-no_Werror.patch
nginx-1.15.8-no_error_pages.patch
nginx-1.15.8-no_pool.patch
nginx-1.15.8-pcre_conf_opt.patch
nginx-1.15.8-privileged_agent_process.patch
nginx-1.15.8-proxy_host_port_vars.patch
nginx-1.15.8-resolver_conf_parsing.patch
nginx-1.15.8-safe_resolver_ipv6_option.patch
nginx-1.15.8-server_header.patch
nginx-1.15.8-setting_args_invalidates_uri.patch
nginx-1.15.8-single_process_graceful_exit.patch
nginx-1.15.8-socket_cloexec.patch
nginx-1.15.8-ssl_cert_cb_yield.patch
nginx-1.15.8-ssl_pending_session.patch
nginx-1.15.8-stream_balancer_export.patch
nginx-1.15.8-stream_proxy_get_next_upstream_tries.patch
nginx-1.15.8-stream_proxy_timeout_fields.patch
nginx-1.15.8-stream_ssl_preread_no_skip.patch
nginx-1.15.8-upstream_pipelining.patch
nginx-1.15.8-upstream_timeout_fields.patch
nginx-1.15.8-win32_max_err_str.patch
nginx-1.17.1-always_enable_cc_feature_tests.patch
nginx-1.17.1-balancer_status_code.patch
nginx-1.17.1-builtin_error_page_footer.patch
nginx-1.17.1-cache_manager_exit.patch
nginx-1.17.1-daemon_destroy_pool.patch
nginx-1.17.1-delayed_posted_events.patch
nginx-1.17.1-dtrace.patch
nginx-1.17.1-gcc-maybe-uninitialized-warning.patch
nginx-1.17.1-hash_overflow.patch
nginx-1.17.1-init_cycle_pool_release.patch
nginx-1.17.1-intercept_error_log.patch
nginx-1.17.1-larger_max_error_str.patch
nginx-1.17.1-log_escape_non_ascii.patch
nginx-1.17.1-no_Werror.patch
nginx-1.17.1-no_error_pages.patch
nginx-1.17.1-no_pool.patch
nginx-1.17.1-pcre_conf_opt.patch
nginx-1.17.1-privileged_agent_process.patch
nginx-1.17.1-proxy_host_port_vars.patch
nginx-1.17.1-resolver_conf_parsing.patch
nginx-1.17.1-reuseport_close_unused_fds.patch
nginx-1.17.1-safe_resolver_ipv6_option.patch
nginx-1.17.1-server_header.patch
nginx-1.17.1-setting_args_invalidates_uri.patch
nginx-1.17.1-single_process_graceful_exit.patch
nginx-1.17.1-socket_cloexec.patch
nginx-1.17.1-ssl_cert_cb_yield.patch
nginx-1.17.1-ssl_sess_cb_yield.patch
nginx-1.17.1-stream_balancer_export.patch
nginx-1.17.1-stream_proxy_get_next_upstream_tries.patch
nginx-1.17.1-stream_proxy_timeout_fields.patch
nginx-1.17.1-stream_ssl_preread_no_skip.patch
nginx-1.17.1-upstream_pipelining.patch
nginx-1.17.1-upstream_timeout_fields.patch
nginx-1.17.1-win32_max_err_str.patch
nginx-1.17.4-always_enable_cc_feature_tests.patch
nginx-1.17.4-balancer_status_code.patch
nginx-1.17.4-builtin_error_page_footer.patch
nginx-1.17.4-cache_manager_exit.patch
nginx-1.17.4-daemon_destroy_pool.patch
nginx-1.17.4-delayed_posted_events.patch
nginx-1.17.4-hash_overflow.patch
nginx-1.17.4-init_cycle_pool_release.patch
nginx-1.17.4-intercept_error_log.patch
nginx-1.17.4-larger_max_error_str.patch
nginx-1.17.4-log_escape_non_ascii.patch
nginx-1.17.4-no_Werror.patch
nginx-1.17.4-no_error_pages.patch
nginx-1.17.4-no_pool.patch
nginx-1.17.4-pcre_conf_opt.patch
nginx-1.17.4-privileged_agent_process.patch
nginx-1.17.4-proxy_host_port_vars.patch
nginx-1.17.4-resolver_conf_parsing.patch
nginx-1.17.4-reuseport_close_unused_fds.patch
nginx-1.17.4-safe_resolver_ipv6_option.patch
nginx-1.17.4-server_header.patch
nginx-1.17.4-setting_args_invalidates_uri.patch
nginx-1.17.4-single_process_graceful_exit.patch
nginx-1.17.4-socket_cloexec.patch
nginx-1.17.4-ssl_cert_cb_yield.patch
nginx-1.17.4-ssl_sess_cb_yield.patch
nginx-1.17.4-stream_balancer_export.patch
nginx-1.17.4-stream_proxy_get_next_upstream_tries.patch
nginx-1.17.4-stream_proxy_timeout_fields.patch
nginx-1.17.4-stream_ssl_preread_no_skip.patch
nginx-1.17.4-upstream_pipelining.patch
nginx-1.17.4-upstream_timeout_fields.patch
nginx-1.17.4-win32_max_err_str.patch
nginx-1.17.8-always_enable_cc_feature_tests.patch
nginx-1.17.8-balancer_status_code.patch
nginx-1.17.8-builtin_error_page_footer.patch
nginx-1.17.8-cache_manager_exit.patch
nginx-1.17.8-daemon_destroy_pool.patch
nginx-1.17.8-delayed_posted_events.patch
nginx-1.17.8-hash_overflow.patch
nginx-1.17.8-init_cycle_pool_release.patch
nginx-1.17.8-intercept_error_log.patch
nginx-1.17.8-larger_max_error_str.patch
nginx-1.17.8-log_escape_non_ascii.patch
nginx-1.17.8-no_Werror.patch
nginx-1.17.8-no_error_pages.patch
nginx-1.17.8-no_pool.patch
nginx-1.17.8-pcre_conf_opt.patch
nginx-1.17.8-privileged_agent_process.patch
nginx-1.17.8-proxy_host_port_vars.patch
nginx-1.17.8-resolver_conf_parsing.patch
nginx-1.17.8-reuseport_close_unused_fds.patch
nginx-1.17.8-safe_resolver_ipv6_option.patch
nginx-1.17.8-server_header.patch
nginx-1.17.8-setting_args_invalidates_uri.patch
nginx-1.17.8-single_process_graceful_exit.patch
nginx-1.17.8-socket_cloexec.patch
nginx-1.17.8-ssl_cert_cb_yield.patch
nginx-1.17.8-ssl_sess_cb_yield.patch
nginx-1.17.8-static_mod_escape_loc_hdr.patch
nginx-1.17.8-stream_balancer_export.patch
nginx-1.17.8-stream_proxy_get_next_upstream_tries.patch
nginx-1.17.8-stream_proxy_timeout_fields.patch
nginx-1.17.8-stream_ssl_preread_no_skip.patch
nginx-1.17.8-upstream_pipelining.patch
nginx-1.17.8-upstream_timeout_fields.patch
nginx-1.17.8-win32_max_err_str.patch
nginx-1.19.2-always_enable_cc_feature_tests.patch
nginx-1.19.2-balancer_status_code.patch
nginx-1.19.2-builtin_error_page_footer.patch
nginx-1.19.2-cache_manager_exit.patch
nginx-1.19.2-daemon_destroy_pool.patch
nginx-1.19.2-delayed_posted_events.patch
nginx-1.19.2-hash_overflow.patch
nginx-1.19.2-init_cycle_pool_release.patch
nginx-1.19.2-intercept_error_log.patch
nginx-1.19.2-larger_max_error_str.patch
nginx-1.19.2-log_escape_non_ascii.patch
nginx-1.19.2-no_Werror.patch
nginx-1.19.2-no_error_pages.patch
nginx-1.19.2-no_pool.patch
nginx-1.19.2-pcre_conf_opt.patch
nginx-1.19.2-privileged_agent_process.patch
nginx-1.19.2-proxy_host_port_vars.patch
nginx-1.19.2-resolver_conf_parsing.patch
nginx-1.19.2-reuseport_close_unused_fds.patch
nginx-1.19.2-safe_resolver_ipv6_option.patch
nginx-1.19.2-server_header.patch
nginx-1.19.2-setting_args_invalidates_uri.patch
nginx-1.19.2-single_process_graceful_exit.patch
nginx-1.19.2-socket_cloexec.patch
nginx-1.19.2-ssl_cert_cb_yield.patch
nginx-1.19.2-ssl_sess_cb_yield.patch
nginx-1.19.2-static_mod_escape_loc_hdr.patch
nginx-1.19.2-stream_balancer_export.patch
nginx-1.19.2-stream_proxy_get_next_upstream_tries.patch
nginx-1.19.2-stream_proxy_timeout_fields.patch
nginx-1.19.2-stream_ssl_preread_no_skip.patch
nginx-1.19.2-upstream_pipelining.patch
nginx-1.19.2-upstream_timeout_fields.patch
nginx-1.19.2-win32_max_err_str.patch
nginx-1.19.3-always_enable_cc_feature_tests.patch
nginx-1.19.3-balancer_status_code.patch
nginx-1.19.3-builtin_error_page_footer.patch
nginx-1.19.3-cache_manager_exit.patch
nginx-1.19.3-daemon_destroy_pool.patch
nginx-1.19.3-delayed_posted_events.patch
nginx-1.19.3-hash_overflow.patch
nginx-1.19.3-init_cycle_pool_release.patch
nginx-1.19.3-intercept_error_log.patch
nginx-1.19.3-larger_max_error_str.patch
nginx-1.19.3-log_escape_non_ascii.patch
nginx-1.19.3-no_Werror.patch
nginx-1.19.3-no_error_pages.patch
nginx-1.19.3-no_pool.patch
nginx-1.19.3-pcre_conf_opt.patch
nginx-1.19.3-privileged_agent_process.patch
nginx-1.19.3-privileged_agent_process_connections.patch
nginx-1.19.3-proxy_host_port_vars.patch
nginx-1.19.3-resolver_conf_parsing.patch
nginx-1.19.3-reuseport_close_unused_fds.patch
nginx-1.19.3-safe_resolver_ipv6_option.patch
nginx-1.19.3-server_header.patch
nginx-1.19.3-setting_args_invalidates_uri.patch
nginx-1.19.3-single_process_graceful_exit.patch
nginx-1.19.3-socket_cloexec.patch
nginx-1.19.3-ssl_cert_cb_yield.patch
nginx-1.19.3-ssl_sess_cb_yield.patch
nginx-1.19.3-static_mod_escape_loc_hdr.patch
nginx-1.19.3-stream_balancer_export.patch
nginx-1.19.3-stream_proxy_get_next_upstream_tries.patch
nginx-1.19.3-stream_proxy_timeout_fields.patch
nginx-1.19.3-stream_ssl_preread_no_skip.patch
nginx-1.19.3-upstream_pipelining.patch
nginx-1.19.3-upstream_timeout_fields.patch
nginx-1.19.3-win32_max_err_str.patch
nginx-1.19.8-always_enable_cc_feature_tests.patch
nginx-1.19.8-balancer_status_code.patch
nginx-1.19.8-builtin_error_page_footer.patch
nginx-1.19.8-cache_manager_exit.patch
nginx-1.19.8-daemon_destroy_pool.patch
nginx-1.19.8-delayed_posted_events.patch
nginx-1.19.8-hash_overflow.patch
nginx-1.19.8-init_cycle_pool_release.patch
nginx-1.19.8-intercept_error_log.patch
nginx-1.19.8-larger_max_error_str.patch
nginx-1.19.8-log_escape_non_ascii.patch
nginx-1.19.8-no_Werror.patch
nginx-1.19.8-no_error_pages.patch
nginx-1.19.8-no_pool.patch
nginx-1.19.8-pcre_conf_opt.patch
nginx-1.19.8-privileged_agent_process.patch
nginx-1.19.8-proxy_host_port_vars.patch
nginx-1.19.8-resolver_conf_parsing.patch
nginx-1.19.8-reuseport_close_unused_fds.patch
nginx-1.19.8-safe_resolver_ipv6_option.patch
nginx-1.19.8-server_header.patch
nginx-1.19.8-setting_args_invalidates_uri.patch
nginx-1.19.8-single_process_graceful_exit.patch
nginx-1.19.8-socket_cloexec.patch
nginx-1.19.8-ssl_cert_cb_yield.patch
nginx-1.19.8-ssl_sess_cb_yield.patch
nginx-1.19.8-static_mod_escape_loc_hdr.patch
nginx-1.19.8-stream_balancer_export.patch
nginx-1.19.8-stream_proxy_get_next_upstream_tries.patch
nginx-1.19.8-stream_proxy_timeout_fields.patch
nginx-1.19.8-stream_ssl_preread_no_skip.patch
nginx-1.19.8-upstream_pipelining.patch
nginx-1.19.8-upstream_timeout_fields.patch
nginx-1.19.8-win32_max_err_str.patch
nginx-1.19.9-always_enable_cc_feature_tests.patch
nginx-1.19.9-balancer_status_code.patch
nginx-1.19.9-builtin_error_page_footer.patch
nginx-1.19.9-cache_manager_exit.patch
nginx-1.19.9-daemon_destroy_pool.patch
nginx-1.19.9-delayed_posted_events.patch
nginx-1.19.9-hash_overflow.patch
nginx-1.19.9-init_cycle_pool_release.patch
nginx-1.19.9-intercept_error_log.patch
nginx-1.19.9-larger_max_error_str.patch
nginx-1.19.9-log_escape_non_ascii.patch
nginx-1.19.9-no_Werror.patch
nginx-1.19.9-no_error_pages.patch
nginx-1.19.9-no_pool.patch
nginx-1.19.9-pcre_conf_opt.patch
nginx-1.19.9-privileged_agent_process.patch
nginx-1.19.9-privileged_agent_process_connections.patch
nginx-1.19.9-proxy_host_port_vars.patch
nginx-1.19.9-resolver_conf_parsing.patch
nginx-1.19.9-reuseport_close_unused_fds.patch
nginx-1.19.9-safe_resolver_ipv6_option.patch
nginx-1.19.9-server_header.patch
nginx-1.19.9-setting_args_invalidates_uri.patch
nginx-1.19.9-single_process_graceful_exit.patch
nginx-1.19.9-socket_cloexec.patch
nginx-1.19.9-ssl_cert_cb_yield.patch
nginx-1.19.9-ssl_client_hello_cb_yield.patch
nginx-1.19.9-ssl_sess_cb_yield.patch
nginx-1.19.9-static_mod_escape_loc_hdr.patch
nginx-1.19.9-stream_balancer_export.patch
nginx-1.19.9-stream_proxy_get_next_upstream_tries.patch
nginx-1.19.9-stream_proxy_timeout_fields.patch
nginx-1.19.9-stream_ssl_preread_no_skip.patch
nginx-1.19.9-upstream_pipelining.patch
nginx-1.19.9-upstream_timeout_fields.patch
nginx-1.19.9-win32_max_err_str.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.21.3-always_enable_cc_feature_tests.patch
nginx-1.21.3-balancer_status_code.patch
nginx-1.21.3-builtin_error_page_footer.patch
nginx-1.21.3-cache_manager_exit.patch
nginx-1.21.3-daemon_destroy_pool.patch
nginx-1.21.3-delayed_posted_events.patch
nginx-1.21.3-hash_overflow.patch
nginx-1.21.3-init_cycle_pool_release.patch
nginx-1.21.3-intercept_error_log.patch
nginx-1.21.3-larger_max_error_str.patch
nginx-1.21.3-log_escape_non_ascii.patch
nginx-1.21.3-no_Werror.patch
nginx-1.21.3-no_error_pages.patch
nginx-1.21.3-no_pool.patch
nginx-1.21.3-pcre_conf_opt.patch
nginx-1.21.3-privileged_agent_process.patch
nginx-1.21.3-privileged_agent_process_connections.patch
nginx-1.21.3-proxy_host_port_vars.patch
nginx-1.21.3-resolver_conf_parsing.patch
nginx-1.21.3-reuseport_close_unused_fds.patch
nginx-1.21.3-safe_resolver_ipv6_option.patch
nginx-1.21.3-server_header.patch
nginx-1.21.3-setting_args_invalidates_uri.patch
nginx-1.21.3-single_process_graceful_exit.patch
nginx-1.21.3-socket_cloexec.patch
nginx-1.21.3-ssl_cert_cb_yield.patch
nginx-1.21.3-ssl_client_hello_cb_yield.patch
nginx-1.21.3-ssl_sess_cb_yield.patch
nginx-1.21.3-stream_balancer_export.patch
nginx-1.21.3-stream_proxy_get_next_upstream_tries.patch
nginx-1.21.3-stream_proxy_timeout_fields.patch
nginx-1.21.3-stream_ssl_preread_no_skip.patch
nginx-1.21.3-upstream_pipelining.patch
nginx-1.21.3-upstream_timeout_fields.patch
nginx-1.21.3-win32_max_err_str.patch
nginx-1.21.4-always_enable_cc_feature_tests.patch
nginx-1.21.4-balancer_status_code.patch
nginx-1.21.4-builtin_error_page_footer.patch
nginx-1.21.4-cache_manager_exit.patch
nginx-1.21.4-daemon_destroy_pool.patch
nginx-1.21.4-delayed_posted_events.patch
nginx-1.21.4-hash_overflow.patch
nginx-1.21.4-init_cycle_pool_release.patch
nginx-1.21.4-intercept_error_log.patch
nginx-1.21.4-larger_max_error_str.patch
nginx-1.21.4-log_escape_non_ascii.patch
nginx-1.21.4-no_Werror.patch
nginx-1.21.4-no_error_pages.patch
nginx-1.21.4-no_pool.patch
nginx-1.21.4-pcre_conf_opt.patch
nginx-1.21.4-privileged_agent_process.patch
nginx-1.21.4-privileged_agent_process_connections.patch
nginx-1.21.4-privileged_agent_process_thread_pool.patch
nginx-1.21.4-proxy_host_port_vars.patch
nginx-1.21.4-resolver_conf_parsing.patch
nginx-1.21.4-reuseport_close_unused_fds.patch
nginx-1.21.4-safe_resolver_ipv6_option.patch
nginx-1.21.4-server_header.patch
nginx-1.21.4-setting_args_invalidates_uri.patch
nginx-1.21.4-single_process_graceful_exit.patch
nginx-1.21.4-socket_cloexec.patch
nginx-1.21.4-ssl_cert_cb_yield.patch
nginx-1.21.4-ssl_client_hello_cb_yield.patch
nginx-1.21.4-ssl_sess_cb_yield.patch
nginx-1.21.4-stream_balancer_export.patch
nginx-1.21.4-stream_proxy_get_next_upstream_tries.patch
nginx-1.21.4-stream_proxy_timeout_fields.patch
nginx-1.21.4-stream_ssl_preread_no_skip.patch
nginx-1.21.4-upstream_pipelining.patch
nginx-1.21.4-upstream_timeout_fields.patch
nginx-1.21.4-win32_max_err_str.patch
nginx-1.23.0-always_enable_cc_feature_tests.patch
nginx-1.23.0-balancer_status_code.patch
nginx-1.23.0-builtin_error_page_footer.patch
nginx-1.23.0-cache_manager_exit.patch
nginx-1.23.0-daemon_destroy_pool.patch
nginx-1.23.0-delayed_posted_events.patch
nginx-1.23.0-hash_overflow.patch
nginx-1.23.0-init_cycle_pool_release.patch
nginx-1.23.0-intercept_error_log.patch
nginx-1.23.0-larger_max_error_str.patch
nginx-1.23.0-log_escape_non_ascii.patch
nginx-1.23.0-no_Werror.patch
nginx-1.23.0-no_error_pages.patch
nginx-1.23.0-no_pool.patch
nginx-1.23.0-pcre_conf_opt.patch
nginx-1.23.0-privileged_agent_process.patch
nginx-1.23.0-privileged_agent_process_connections.patch
nginx-1.23.0-privileged_agent_process_thread_pool.patch
nginx-1.23.0-proxy_host_port_vars.patch
nginx-1.23.0-resolver_conf_parsing.patch
nginx-1.23.0-reuseport_close_unused_fds.patch
nginx-1.23.0-safe_resolver_ipv6_option.patch
nginx-1.23.0-server_header.patch
nginx-1.23.0-setting_args_invalidates_uri.patch
nginx-1.23.0-single_process_graceful_exit.patch
nginx-1.23.0-socket_cloexec.patch
nginx-1.23.0-ssl_cert_cb_yield.patch
nginx-1.23.0-ssl_client_hello_cb_yield.patch
nginx-1.23.0-ssl_sess_cb_yield.patch
nginx-1.23.0-stream_balancer_export.patch
nginx-1.23.0-stream_proxy_get_next_upstream_tries.patch
nginx-1.23.0-stream_proxy_timeout_fields.patch
nginx-1.23.0-stream_ssl_preread_no_skip.patch
nginx-1.23.0-upstream_pipelining.patch
nginx-1.23.0-upstream_timeout_fields.patch
nginx-1.23.0-win32_max_err_str.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.10-cache_manager_exit.patch
nginx-1.7.10-dtrace.patch
nginx-1.7.10-gcc-maybe-uninitialized-warning.patch
nginx-1.7.10-hash_overflow.patch
nginx-1.7.10-larger_max_error_str.patch
nginx-1.7.10-log_escape_non_ascii.patch
nginx-1.7.10-no_Werror.patch
nginx-1.7.10-no_error_pages.patch
nginx-1.7.10-no_pool.patch
nginx-1.7.10-pcre_conf_opt.patch
nginx-1.7.10-proxy_host_port_vars.patch
nginx-1.7.10-server_header.patch
nginx-1.7.10-setting_args_invalidates_uri.patch
nginx-1.7.10-slab_defrag.patch
nginx-1.7.10-upstream_filter_finalize.patch
nginx-1.7.10-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
nginx-1.9.11-always_enable_cc_feature_tests.patch
nginx-1.9.11-cache_manager_exit.patch
nginx-1.9.11-dtrace.patch
nginx-1.9.11-gcc-maybe-uninitialized-warning.patch
nginx-1.9.11-hash_overflow.patch
nginx-1.9.11-larger_max_error_str.patch
nginx-1.9.11-log_escape_non_ascii.patch
nginx-1.9.11-no_Werror.patch
nginx-1.9.11-no_error_pages.patch
nginx-1.9.11-no_pool.patch
nginx-1.9.11-pcre_conf_opt.patch
nginx-1.9.11-proxy_host_port_vars.patch
nginx-1.9.11-server_header.patch
nginx-1.9.11-setting_args_invalidates_uri.patch
nginx-1.9.11-slab_defrag.patch
nginx-1.9.11-ssl_cert_cb_yield.patch
nginx-1.9.11-upstream_pipelining.patch
nginx-1.9.15-always_enable_cc_feature_tests.patch
nginx-1.9.15-cache_manager_exit.patch
nginx-1.9.15-dtrace.patch
nginx-1.9.15-gcc-maybe-uninitialized-warning.patch
nginx-1.9.15-hash_overflow.patch
nginx-1.9.15-larger_max_error_str.patch
nginx-1.9.15-log_escape_non_ascii.patch
nginx-1.9.15-no_Werror.patch
nginx-1.9.15-no_error_pages.patch
nginx-1.9.15-no_pool.patch
nginx-1.9.15-pcre_conf_opt.patch
nginx-1.9.15-proxy_host_port_vars.patch
nginx-1.9.15-server_header.patch
nginx-1.9.15-setting_args_invalidates_uri.patch
nginx-1.9.15-slab_defrag.patch
nginx-1.9.15-ssl_cert_cb_yield.patch
nginx-1.9.15-ssl_pending_session.patch
nginx-1.9.15-upstream_pipelining.patch
nginx-1.9.15-upstream_timeout_fields.patch
nginx-1.9.2-cache_manager_exit.patch
nginx-1.9.2-dtrace.patch
nginx-1.9.2-gcc-maybe-uninitialized-warning.patch
nginx-1.9.2-hash_overflow.patch
nginx-1.9.2-larger_max_error_str.patch
nginx-1.9.2-log_escape_non_ascii.patch
nginx-1.9.2-no_Werror.patch
nginx-1.9.2-no_error_pages.patch
nginx-1.9.2-no_pool.patch
nginx-1.9.2-pcre_conf_opt.patch
nginx-1.9.2-proxy_host_port_vars.patch
nginx-1.9.2-server_header.patch
nginx-1.9.2-setting_args_invalidates_uri.patch
nginx-1.9.2-slab_defrag.patch
nginx-1.9.2-upstream_pipelining.patch
nginx-1.9.3-always_enable_cc_feature_tests.patch
nginx-1.9.3-cache_manager_exit.patch
nginx-1.9.3-dtrace.patch
nginx-1.9.3-gcc-maybe-uninitialized-warning.patch
nginx-1.9.3-hash_overflow.patch
nginx-1.9.3-larger_max_error_str.patch
nginx-1.9.3-log_escape_non_ascii.patch
nginx-1.9.3-no_Werror.patch
nginx-1.9.3-no_error_pages.patch
nginx-1.9.3-no_pool.patch
nginx-1.9.3-pcre_conf_opt.patch
nginx-1.9.3-proxy_host_port_vars.patch
nginx-1.9.3-server_header.patch
nginx-1.9.3-setting_args_invalidates_uri.patch
nginx-1.9.3-slab_defrag.patch
nginx-1.9.3-upstream_pipelining.patch
nginx-1.9.7-always_enable_cc_feature_tests.patch
nginx-1.9.7-cache_manager_exit.patch
nginx-1.9.7-dtrace.patch
nginx-1.9.7-gcc-maybe-uninitialized-warning.patch
nginx-1.9.7-hash_overflow.patch
nginx-1.9.7-larger_max_error_str.patch
nginx-1.9.7-log_escape_non_ascii.patch
nginx-1.9.7-no_Werror.patch
nginx-1.9.7-no_error_pages.patch
nginx-1.9.7-no_pool.patch
nginx-1.9.7-pcre_conf_opt.patch
nginx-1.9.7-proxy_host_port_vars.patch
nginx-1.9.7-resolver_security_fixes.patch
nginx-1.9.7-server_header.patch
nginx-1.9.7-setting_args_invalidates_uri.patch
nginx-1.9.7-slab_defrag.patch
nginx-1.9.7-ssl_cert_cb_yield.patch
nginx-1.9.7-upstream_pipelining.patch
ngx_http_redis-0.3.6-variables_in_redis_pass.patch
ngx_http_redis-0.3.7-default_port_fix.patch
ngx_http_redis-0.3.7-variables_in_redis_pass.patch
ngx_http_redis-0.3.7-without_gzip.patch
ngx_http_redis-0.3.9-default_port_fix.patch
ngx_http_redis-0.3.9-variables_in_redis_pass.patch
openssl-1.0.2h-sess_set_get_cb_yield.patch
openssl-1.1.0c-sess_set_get_cb_yield.patch
openssl-1.1.0d-sess_set_get_cb_yield.patch
openssl-1.1.0j-parallel_build_fix.patch
openssl-1.1.1c-sess_set_get_cb_yield.patch
openssl-1.1.1d-win_fix.patch
openssl-1.1.1e-sess_set_get_cb_yield.patch
openssl-1.1.1f-sess_set_get_cb_yield.patch
patch.2013.space.txt
patch.2014.spdy2.txt
patch.2016.write.txt
patch.2016.write2.txt
patch.2017.ranges.txt
patch.2018.h2.txt
patch.2018.mp4.txt
patch.2019.h2.txt
patch.2021.resolver.txt
specs
t
util
.gitattributes
.gitignore
.travis.yml
COPYRIGHT
Makefile
README.markdown
valgrind.suppress
openresty/patches/nginx-1.19.9-socket_cloexec.patch
2021-04-01 18:20:03 +08:00

186 lines
5.5 KiB
C

diff --git a/auto/unix b/auto/unix
index 10835f6c..b5b33bb3 100644
--- a/auto/unix
+++ b/auto/unix
@@ -990,3 +990,27 @@ ngx_feature_test='struct addrinfo *res;
if (getaddrinfo("localhost", NULL, NULL, &res) != 0) return 1;
freeaddrinfo(res)'
. auto/feature
+
+ngx_feature="SOCK_CLOEXEC support"
+ngx_feature_name="NGX_HAVE_SOCKET_CLOEXEC"
+ngx_feature_run=no
+ngx_feature_incs="#include <sys/types.h>
+ #include <sys/socket.h>"
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test="int fd;
+ fd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0);"
+. auto/feature
+
+ngx_feature="FD_CLOEXEC support"
+ngx_feature_name="NGX_HAVE_FD_CLOEXEC"
+ngx_feature_run=no
+ngx_feature_incs="#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <fcntl.h>"
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test="int fd;
+ fd = socket(AF_INET, SOCK_STREAM, 0);
+ fcntl(fd, F_SETFD, FD_CLOEXEC);"
+. auto/feature
diff --git a/src/core/ngx_resolver.c b/src/core/ngx_resolver.c
index cd55520c..438e0806 100644
--- a/src/core/ngx_resolver.c
+++ b/src/core/ngx_resolver.c
@@ -4466,8 +4466,14 @@ ngx_tcp_connect(ngx_resolver_connection_t *rec)
ngx_event_t *rev, *wev;
ngx_connection_t *c;
+#if (NGX_HAVE_SOCKET_CLOEXEC)
+ s = ngx_socket(rec->sockaddr->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0);
+
+#else
s = ngx_socket(rec->sockaddr->sa_family, SOCK_STREAM, 0);
+#endif
+
ngx_log_debug1(NGX_LOG_DEBUG_EVENT, &rec->log, 0, "TCP socket %d", s);
if (s == (ngx_socket_t) -1) {
@@ -4494,6 +4500,15 @@ ngx_tcp_connect(ngx_resolver_connection_t *rec)
goto failed;
}
+#if (NGX_HAVE_FD_CLOEXEC)
+ if (ngx_cloexec(s) == -1) {
+ ngx_log_error(NGX_LOG_ALERT, &rec->log, ngx_socket_errno,
+ ngx_cloexec_n " failed");
+
+ goto failed;
+ }
+#endif
+
rev = c->read;
wev = c->write;
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h
index 19fec68..8c2f01a 100644
--- a/src/event/ngx_event.h
+++ b/src/event/ngx_event.h
@@ -73,6 +73,9 @@ struct ngx_event_s {
/* to test on worker exit */
unsigned channel:1;
unsigned resolver:1;
+#if (HAVE_SOCKET_CLOEXEC_PATCH)
+ unsigned skip_socket_leak_check:1;
+#endif
unsigned cancelable:1;
diff --git a/src/event/ngx_event_accept.c b/src/event/ngx_event_accept.c
index 77563709..5827b9d0 100644
--- a/src/event/ngx_event_accept.c
+++ b/src/event/ngx_event_accept.c
@@ -62,7 +62,9 @@ ngx_event_accept(ngx_event_t *ev)
#if (NGX_HAVE_ACCEPT4)
if (use_accept4) {
- s = accept4(lc->fd, &sa.sockaddr, &socklen, SOCK_NONBLOCK);
+ s = accept4(lc->fd, &sa.sockaddr, &socklen,
+ SOCK_NONBLOCK | SOCK_CLOEXEC);
+
} else {
s = accept(lc->fd, &sa.sockaddr, &socklen);
}
@@ -202,6 +204,16 @@ ngx_event_accept(ngx_event_t *ev)
ngx_close_accepted_connection(c);
return;
}
+
+#if (NGX_HAVE_FD_CLOEXEC)
+ if (ngx_cloexec(s) == -1) {
+ ngx_log_error(NGX_LOG_ALERT, ev->log, ngx_socket_errno,
+ ngx_cloexec_n " failed");
+ ngx_close_accepted_connection(c);
+ return;
+ }
+#endif
+
}
}
diff --git a/src/event/ngx_event_connect.c b/src/event/ngx_event_connect.c
index c5bb8068..cf33b1d2 100644
--- a/src/event/ngx_event_connect.c
+++ b/src/event/ngx_event_connect.c
@@ -38,8 +38,15 @@ ngx_event_connect_peer(ngx_peer_connection_t *pc)
type = (pc->type ? pc->type : SOCK_STREAM);
+#if (NGX_HAVE_SOCKET_CLOEXEC)
+ s = ngx_socket(pc->sockaddr->sa_family, type | SOCK_CLOEXEC, 0);
+
+#else
s = ngx_socket(pc->sockaddr->sa_family, type, 0);
+#endif
+
+
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, pc->log, 0, "%s socket %d",
(type == SOCK_STREAM) ? "stream" : "dgram", s);
@@ -80,6 +87,15 @@ ngx_event_connect_peer(ngx_peer_connection_t *pc)
goto failed;
}
+#if (NGX_HAVE_FD_CLOEXEC)
+ if (ngx_cloexec(s) == -1) {
+ ngx_log_error(NGX_LOG_ALERT, pc->log, ngx_socket_errno,
+ ngx_cloexec_n " failed");
+
+ goto failed;
+ }
+#endif
+
if (pc->local) {
#if (NGX_HAVE_TRANSPARENT_PROXY)
diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c
index c4376a5..48e8fa8 100644
--- a/src/os/unix/ngx_process_cycle.c
+++ b/src/os/unix/ngx_process_cycle.c
@@ -960,6 +1029,9 @@ ngx_worker_process_exit(ngx_cycle_t *cycle)
for (i = 0; i < cycle->connection_n; i++) {
if (c[i].fd != -1
&& c[i].read
+#if (HAVE_SOCKET_CLOEXEC_PATCH)
+ && !c[i].read->skip_socket_leak_check
+#endif
&& !c[i].read->accept
&& !c[i].read->channel
&& !c[i].read->resolver)
diff --git a/src/os/unix/ngx_socket.h b/src/os/unix/ngx_socket.h
index fcc51533..d1eebf47 100644
--- a/src/os/unix/ngx_socket.h
+++ b/src/os/unix/ngx_socket.h
@@ -38,6 +38,17 @@ int ngx_blocking(ngx_socket_t s);
#endif
+#if (NGX_HAVE_FD_CLOEXEC)
+
+#define ngx_cloexec(s) fcntl(s, F_SETFD, FD_CLOEXEC)
+#define ngx_cloexec_n "fcntl(FD_CLOEXEC)"
+
+/* at least FD_CLOEXEC is required to ensure connection fd is closed
+ * after execve */
+#define HAVE_SOCKET_CLOEXEC_PATCH 1
+
+#endif
+
int ngx_tcp_nopush(ngx_socket_t s);
int ngx_tcp_push(ngx_socket_t s);