nghttp2/src
Tatsuhiro Tsujikawa fe8946ddc7 nghttpx: Fix bug that mruby is incorrectly shared between backends
Previously, mruby context is wrongly shared by multiple patterns if
the underlying SharedDownstreamAddr is shared by multiple
DownstreamAddrGroups.  This commit fixes it.
2019-09-16 22:25:06 +09:00
..
includes added access to the number of the current server port 2018-11-23 10:56:21 +09:00
.gitignore
CMakeLists.txt cmake: Support building nghttpx with systemd 2019-07-29 13:55:05 +03:00
HtmlParser.cc clang-format 2017-02-04 11:29:10 +09:00
HtmlParser.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
HttpServer.cc Don't read too greedily 2019-08-14 11:44:28 +09:00
HttpServer.h nghttpd: Add --encoder-header-table-size option 2016-09-17 22:38:05 +09:00
Makefile.am Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
allocator.h nghttpx: Simplify move ctor and operator 2018-11-02 15:40:53 +09:00
app_helper.cc src: Add debug output for SETTINGS_ENABLE_CONNECT_PROTOCOL 2018-09-29 11:39:49 +09:00
app_helper.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
asio_client_request.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
asio_client_request_impl.cc asio: client: Limit incoming response header field buffer size 2016-02-11 23:20:31 +09:00
asio_client_request_impl.h asio: client: Limit incoming response header field buffer size 2016-02-11 23:20:31 +09:00
asio_client_response.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
asio_client_response_impl.cc asio: client: Limit incoming response header field buffer size 2016-02-11 23:20:31 +09:00
asio_client_response_impl.h asio: client: Limit incoming response header field buffer size 2016-02-11 23:20:31 +09:00
asio_client_session.cc support definition of local endpoint for cleartext client session 2018-08-02 16:18:23 +09:00
asio_client_session_impl.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
asio_client_session_impl.h Support specifying stream priority via session::submit() 2017-04-12 10:07:16 -04:00
asio_client_session_tcp_impl.cc clang-format 2018-08-27 21:34:18 +09:00
asio_client_session_tcp_impl.h support definition of local endpoint for cleartext client session 2018-08-02 16:18:23 +09:00
asio_client_session_tls_impl.cc asio: Support client side SNI 2018-05-03 20:29:16 +09:00
asio_client_session_tls_impl.h clang-format-3.9 2016-10-15 18:36:04 +09:00
asio_client_stream.cc
asio_client_stream.h
asio_client_tls_context.cc Fix compile error with -Wunused-function 2018-04-03 21:33:09 +09:00
asio_client_tls_context.h
asio_common.cc Add comment on #endif 2018-04-03 21:39:44 +09:00
asio_common.h util: Remove unused functions; rename regacy camel-case function names 2015-11-28 00:42:51 +09:00
asio_io_service_pool.cc More graceful stop of nghttp2::asio_http2::server::http2 2017-02-09 23:34:19 -05:00
asio_io_service_pool.h More graceful stop of nghttp2::asio_http2::server::http2 2017-02-09 23:34:19 -05:00
asio_server.cc added access to the number of the current server port 2018-11-23 10:56:21 +09:00
asio_server.h added access to the number of the current server port 2018-11-23 10:56:21 +09:00
asio_server_connection.h clang-format 2019-04-18 23:37:48 +09:00
asio_server_http2.cc added access to the number of the current server port 2018-11-23 10:56:21 +09:00
asio_server_http2_handler.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
asio_server_http2_handler.h clang-format-5.0 2017-11-23 14:19:12 +09:00
asio_server_http2_impl.cc added access to the number of the current server port 2018-11-23 10:56:21 +09:00
asio_server_http2_impl.h added access to the number of the current server port 2018-11-23 10:56:21 +09:00
asio_server_request.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
asio_server_request_handler.cc src: Add missing mandatory SP after status code 2016-11-04 02:19:37 +09:00
asio_server_request_handler.h
asio_server_request_impl.cc asio: server: Limit incoming request header field buffer size 2016-02-11 23:20:31 +09:00
asio_server_request_impl.h asio: server: Limit incoming request header field buffer size 2016-02-11 23:20:31 +09:00
asio_server_response.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
asio_server_response_impl.cc Enable ConstructorInitializerAllOnOneLineOrOnePerLine for better diff 2016-01-27 21:14:07 +09:00
asio_server_response_impl.h
asio_server_serve_mux.cc src: Refactor using StringRef, simplify function parameters 2016-03-04 00:26:59 +09:00
asio_server_serve_mux.h
asio_server_stream.cc
asio_server_stream.h
asio_server_tls_context.cc Fix compile error with -Wunused-function 2018-04-03 21:33:09 +09:00
asio_server_tls_context.h
base64.h nghttpx: Implement RFC 8441 Bootstrapping WebSocket with HTTP/2 2018-09-29 11:35:41 +09:00
base64_test.cc nghtpx: Add BlockAllocator version of base64 2016-10-02 22:28:43 +09:00
base64_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
buffer.h nghttpx: Add shared session cache using memcached 2015-07-26 23:33:06 +09:00
buffer_test.cc
buffer_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
ca-config.json nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
ca.nghttp2.org-key.pem nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
ca.nghttp2.org.csr nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
ca.nghttp2.org.csr.json nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
ca.nghttp2.org.pem nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
comp_helper.c Use -fvisibility=hidden for internal functions 2015-10-23 00:08:15 +09:00
comp_helper.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
deflatehd.cc Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
h2load.cc Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
h2load.h h2load: Write log file with write(2) 2018-11-23 13:08:38 +09:00
h2load_http1_session.cc Fix llhttp_get_error_pos usage 2019-04-21 00:07:11 +09:00
h2load_http1_session.h Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
h2load_http2_session.cc h2load: Print out h2 header fields with --verbose option 2017-09-22 18:12:20 +09:00
h2load_http2_session.h h2load: Implement HTTP/1 upload 2016-06-12 17:42:12 +09:00
h2load_session.h h2load: Implement HTTP/1 upload 2016-06-12 17:42:12 +09:00
http-parser.patch
http2.cc Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
http2.h Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
http2_test.cc Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
http2_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
inflatehd.cc Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
libevent_util.cc Enable ConstructorInitializerAllOnOneLineOrOnePerLine for better diff 2016-01-27 21:14:07 +09:00
libevent_util.h
libnghttp2_asio.pc.in
memchunk.h nghttpx: Backend address selection with weight 2019-01-21 22:23:19 +09:00
memchunk_test.cc src: Remove extra braces if possible 2018-10-15 23:46:33 +09:00
memchunk_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
network.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp.cc Fix llhttp_get_error_pos usage 2019-04-21 00:07:11 +09:00
nghttp.h Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
nghttp2_config.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_gzip.c nghttp2_gzip: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7 2017-02-27 21:38:55 +01:00
nghttp2_gzip.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_gzip_test.c Compile with --disable-assert 2017-05-18 23:10:44 +09:00
nghttp2_gzip_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttpd.cc Implement daemon() using fork() for OSX 2019-05-30 23:22:44 +09:00
shrpx-unittest.cc nghttpx: Use std::priority_queue 2019-01-22 00:01:17 +09:00
shrpx.cc Fix log-level is not set with cmd-line or configuration file 2019-06-11 23:13:43 +09:00
shrpx.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_accept_handler.cc Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_accept_handler.h Rename FrontendAddr as UpstreamAddr 2016-02-07 17:51:53 +09:00
shrpx_api_downstream_connection.cc nghttpx: Add missing return 2018-12-11 22:52:34 +09:00
shrpx_api_downstream_connection.h nghttpx: Convert API status code to enum class 2018-11-02 14:14:48 +09:00
shrpx_client_handler.cc Don't read too greedily 2019-08-14 11:44:28 +09:00
shrpx_client_handler.h nghttpx: Backend address selection with weight 2019-01-21 22:23:19 +09:00
shrpx_config.cc Fix FPE with default backend 2019-06-11 23:15:01 +09:00
shrpx_config.h nghttpx: Fix unchanged log level on configuration reload 2019-06-05 21:17:23 +09:00
shrpx_config_test.cc nghttpx: Convert LogFragmentType to enum class 2018-11-02 14:14:48 +09:00
shrpx_config_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_connect_blocker.cc nghttpx: Backend address selection with weight 2019-01-21 22:23:19 +09:00
shrpx_connect_blocker.h clang-format-5.0 2017-11-23 14:19:12 +09:00
shrpx_connection.cc nghttpx: Make TLS handshake state enum class 2018-10-17 08:52:27 +09:00
shrpx_connection.h nghttpx: Make TLS handshake state enum class 2018-10-17 08:52:27 +09:00
shrpx_connection_handler.cc Remove redundant null check before delete 2019-08-19 22:27:32 +09:00
shrpx_connection_handler.h nghttpx: Convert SerialEventType to enum class 2018-10-17 14:19:58 +09:00
shrpx_dns_resolver.cc nghttpx: Convert DNSResolverStatus to enum class 2018-10-17 14:19:58 +09:00
shrpx_dns_resolver.h nghttpx: Convert DNSResolverStatus to enum class 2018-10-17 14:19:58 +09:00
shrpx_dns_tracker.cc nghttpx: Convert DNSResolverStatus to enum class 2018-10-17 14:19:58 +09:00
shrpx_dns_tracker.h nghttpx: Convert DNSResolverStatus to enum class 2018-10-17 14:19:58 +09:00
shrpx_downstream.cc nghttpx: Fix bug that mruby is incorrectly shared between backends 2019-09-16 22:25:06 +09:00
shrpx_downstream.h nghttpx: Fix request stall 2019-08-06 20:50:29 +09:00
shrpx_downstream_connection.cc nghttpx: Fix bug that old config is used during reloading config 2017-02-16 22:46:22 +09:00
shrpx_downstream_connection.h nghttpx: Fix bug that old config is used during reloading config 2017-02-16 22:46:22 +09:00
shrpx_downstream_connection_pool.cc nghttpx: Close and disallow h1 backend connection on backend replacement 2016-06-04 12:16:31 +09:00
shrpx_downstream_connection_pool.h nghttpx: Close and disallow h1 backend connection on backend replacement 2016-06-04 12:16:31 +09:00
shrpx_downstream_queue.cc nghttpx: Convert dispatch state to enum class 2018-10-17 14:19:58 +09:00
shrpx_downstream_queue.h nghttpx: Cleanup 2018-11-02 15:16:36 +09:00
shrpx_downstream_test.cc src: Add tests 2017-11-01 22:18:03 +09:00
shrpx_downstream_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_dual_dns_resolver.cc nghttpx: Convert DNSResolverStatus to enum class 2018-10-17 14:19:58 +09:00
shrpx_dual_dns_resolver.h nghttpx: Convert DNSResolverStatus to enum class 2018-10-17 14:19:58 +09:00
shrpx_error.h nghttpx: Redirect to HTTPS URI with redirect-if-not-tls param 2017-02-18 22:32:27 +09:00
shrpx_exec.cc src: Add static to constexpr char[] 2017-09-20 23:54:10 +09:00
shrpx_exec.h nghttpx: Refactor ocsp command execution 2016-10-08 15:22:11 +09:00
shrpx_health_monitor_downstream_connection.cc nghttpx: Fix broken healthmon frontend 2018-08-27 21:21:55 +09:00
shrpx_health_monitor_downstream_connection.h nghttpx: Add access log variable for backend host and port 2016-08-05 00:04:47 +09:00
shrpx_http.cc nghttpx: Don't log authorization request header field value with -LINFO 2019-04-15 22:59:26 +09:00
shrpx_http.h nghttpx: Convert shrpx_cookie_secure to enum class 2018-10-16 23:06:59 +09:00
shrpx_http2_downstream_connection.cc Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
shrpx_http2_downstream_connection.h nghttpx: Add access log variable for backend host and port 2016-08-05 00:04:47 +09:00
shrpx_http2_session.cc Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
shrpx_http2_session.h Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
shrpx_http2_upstream.cc nghttpx: Fix bug that mruby is incorrectly shared between backends 2019-09-16 22:25:06 +09:00
shrpx_http2_upstream.h nghttpx: Add --frontend-max-requests option 2017-02-20 23:36:50 +09:00
shrpx_http_downstream_connection.cc nghttpx: Reconnect h1 backend if it lost connection before sending headers 2019-09-07 18:20:24 +09:00
shrpx_http_downstream_connection.h Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
shrpx_http_test.cc Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_http_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_https_upstream.cc nghttpx: Fix bug that mruby is incorrectly shared between backends 2019-09-16 22:25:06 +09:00
shrpx_https_upstream.h Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
shrpx_io_control.cc
shrpx_io_control.h nghttpx: Fix travis gcc compile error 2017-02-17 00:42:25 +09:00
shrpx_live_check.cc nghttpx: Convert DNSResolverStatus to enum class 2018-10-17 14:19:58 +09:00
shrpx_live_check.h nghttpx: Lookup backend host name dynamically 2016-12-10 21:09:50 +09:00
shrpx_log.cc nghttpx: Fix unchanged log level on configuration reload 2019-06-05 21:17:23 +09:00
shrpx_log.h nghttpx: Fix unchanged log level on configuration reload 2019-06-05 21:17:23 +09:00
shrpx_log_config.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
shrpx_log_config.h nghttpx: Update log time stamp in millisecond interval 2017-02-17 00:18:07 +09:00
shrpx_memcached_connection.cc clang-format-8 2019-05-18 10:28:35 +09:00
shrpx_memcached_connection.h nghttpx: Convert MemcachedStatusCode to enum class 2018-11-02 14:14:48 +09:00
shrpx_memcached_dispatcher.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
shrpx_memcached_dispatcher.h nghttpx: Fix bug that old config is used during reloading config 2017-02-16 22:46:22 +09:00
shrpx_memcached_request.h nghttpx: Convert memcached op to enum class 2018-11-02 14:14:48 +09:00
shrpx_memcached_result.h nghttpx: Convert MemcachedStatusCode to enum class 2018-11-02 14:14:48 +09:00
shrpx_mruby.cc nghttpx: Make Downstream state enum class 2018-10-17 14:19:58 +09:00
shrpx_mruby.h nghttpx: Fix bug that old config is used during reloading config 2017-02-16 22:46:22 +09:00
shrpx_mruby_module.cc nghttpx: Add custom memory allocator mainly for header related objects 2016-03-09 21:16:28 +09:00
shrpx_mruby_module.h nghttpx: Add custom memory allocator mainly for header related objects 2016-03-09 21:16:28 +09:00
shrpx_mruby_module_env.cc nghttpx: Add mruby env.tls_handshake_finished 2018-09-09 22:59:35 +09:00
shrpx_mruby_module_env.h nghttpx: Fix bug that old config is used during reloading config 2017-02-16 22:46:22 +09:00
shrpx_mruby_module_request.cc Update mruby 1.4.1 2018-09-16 22:54:09 +09:00
shrpx_mruby_module_request.h nghttpx: Fix bug that old config is used during reloading config 2017-02-16 22:46:22 +09:00
shrpx_mruby_module_response.cc nghttpx: Write mruby send_info early 2018-11-15 10:17:47 +09:00
shrpx_mruby_module_response.h nghttpx: Fix bug that old config is used during reloading config 2017-02-16 22:46:22 +09:00
shrpx_process.h nghttpx: Fix improper signal handling 2015-09-24 23:43:24 +09:00
shrpx_rate_limit.cc nghttpx: Add TLSv1.3 0-RTT early data support 2018-09-08 17:54:35 +09:00
shrpx_rate_limit.h nghttpx: Rewrite TLS async handshake using memchunk buffers 2015-08-13 00:42:59 +09:00
shrpx_router.cc nghttpx: Fix broken trailing slash handling 2018-12-09 17:07:28 +09:00
shrpx_router.h nghttpx: Wildcard path matching 2017-05-11 22:15:28 +09:00
shrpx_router_test.cc nghttpx: Fix broken trailing slash handling 2018-12-09 17:07:28 +09:00
shrpx_router_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_signal.cc src: Remove extra braces if possible 2018-10-15 23:46:33 +09:00
shrpx_signal.h nghttpx: Don't call functions which are not async-signal-safe 2017-03-01 22:42:30 +09:00
shrpx_tls.cc Merge pull request #1270 from baitisj/master 2019-03-13 20:52:50 +09:00
shrpx_tls.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_tls_test.cc Use std::make_unique 2018-10-15 23:02:44 +09:00
shrpx_tls_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_upstream.h nghttpx: Redirect to HTTPS URI with redirect-if-not-tls param 2017-02-18 22:32:27 +09:00
shrpx_worker.cc nghttpx: Fix bug that mruby is incorrectly shared between backends 2019-09-16 22:25:06 +09:00
shrpx_worker.h nghttpx: Fix bug that mruby is incorrectly shared between backends 2019-09-16 22:25:06 +09:00
shrpx_worker_process.cc nghttpx: Convert MemcachedStatusCode to enum class 2018-11-02 14:14:48 +09:00
shrpx_worker_process.h nghttpx: Fix bug that old config is used during reloading config 2017-02-16 22:46:22 +09:00
shrpx_worker_test.cc Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
shrpx_worker_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
ssl_compat.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
template.h nghttpx: Backend address selection with weight 2019-01-21 22:23:19 +09:00
template_test.cc Make ImmutableString(const char*) explicit 2016-08-26 22:40:59 +09:00
template_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
test.example.com-key.pem nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
test.example.com.csr nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
test.example.com.csr.json nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
test.example.com.pem nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
test.nghttp2.org-key.pem nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
test.nghttp2.org.csr nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
test.nghttp2.org.csr.json nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
test.nghttp2.org.pem nghttpx: Rewrite CertLookupTree using Router 2016-06-25 22:52:01 +09:00
timegm.c Fix build error with Android NDK 2015-07-30 22:57:25 +09:00
timegm.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
tls.cc src: Rename ssl.{h,cc} as tls.{h,cc} 2017-04-01 15:12:28 +09:00
tls.h nghttpx: Add --tls13-ciphers and --tls-client-ciphers options 2018-09-09 16:35:47 +09:00
util.cc Implement daemon() using fork() for OSX 2019-05-30 23:22:44 +09:00
util.h Implement daemon() using fork() for OSX 2019-05-30 23:22:44 +09:00
util_test.cc src: Fix memory leak in unit test 2017-10-24 21:40:30 +09:00
util_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
xsi_strerror.c Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
xsi_strerror.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00