nghttp2/src
Tatsuhiro Tsujikawa e99f3c58f7 nghttpx: Call downstream_failure where it should be
Also, we say connection succeeded only when we got SETTINGS ACK from
peer, rather than when we just connected to the peer in TCP or TLS.
2016-05-21 10:30:09 +09:00
..
includes cmake: only install ASIO headers when requested 2016-03-15 00:02:46 +01:00
.gitignore Refactor .gitignore files 2015-03-29 18:40:37 +09:00
CMakeLists.txt src: Add missing source file to CMakeLists.txt 2016-04-08 23:19:54 +09:00
HtmlParser.cc src: Made strieq(T, S) template 2016-03-25 22:45:33 +09:00
HtmlParser.h nghttp: Remove --dep-idle option 2015-04-17 22:24:06 +09:00
HttpServer.cc nghttpd: Set content-length in status response 2016-05-14 17:29:50 +09:00
HttpServer.h nghttpd: Use StringRef 2016-03-19 20:57:40 +09:00
Makefile.am src: Compile with OpenSSL 1.1.0-pre5 2016-05-07 16:18:58 +09:00
allocator.h Rewrite concat_string_ref 2016-03-20 17:55:17 +09:00
app_helper.cc src: Log ALTSVC 2016-04-08 23:25:56 +09:00
app_helper.h Add nghttp2_error_callback to tell application human readable error message 2016-03-13 18:22:52 +09:00
asio_client_request.cc asio: Add client::request::write_trailer() 2015-03-07 23:04:31 +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 asio: Make impl() const 2015-03-05 02:12:31 +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 asio: client: Fix connect timeout does not work, return from cb if session stopped 2016-02-06 11:05:13 +09:00
asio_client_session_impl.cc asio: client: Limit incoming response header field buffer size 2016-02-11 23:20:31 +09:00
asio_client_session_impl.h asio: client: Fix connect timeout does not work, return from cb if session stopped 2016-02-06 11:05:13 +09:00
asio_client_session_tcp_impl.cc asio: client: Fix connect timeout does not work, return from cb if session stopped 2016-02-06 11:05:13 +09:00
asio_client_session_tcp_impl.h asio: client: Fix connect timeout does not work, return from cb if session stopped 2016-02-06 11:05:13 +09:00
asio_client_session_tls_impl.cc asio: client: Fix connect timeout does not work, return from cb if session stopped 2016-02-06 11:05:13 +09:00
asio_client_session_tls_impl.h asio: client: Fix connect timeout does not work, return from cb if session stopped 2016-02-06 11:05:13 +09:00
asio_client_stream.cc asio: Fix compile error with gcc 2015-03-06 02:05:01 +09:00
asio_client_stream.h asio: Fix compile error with gcc 2015-03-06 02:05:01 +09:00
asio_client_tls_context.cc asio: ALPN support 2015-11-07 22:53:25 +09:00
asio_client_tls_context.h asio: Separate client API to asio_http2_client.h 2015-03-05 02:12:31 +09:00
asio_common.cc src: Remove streq(const char *) overload 2016-03-25 00:02:07 +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 asio: Rename http2::get_io_services() as http2::io_services() 2015-12-25 21:06:25 +09:00
asio_io_service_pool.h asio: Rename http2::get_io_services() as http2::io_services() 2015-12-25 21:06:25 +09:00
asio_server.cc asio: Stop acceptor on server::http2::stop 2016-01-21 19:15:32 +09:00
asio_server.h asio: Rename http2::get_io_services() as http2::io_services() 2015-12-25 21:06:25 +09:00
asio_server_connection.h asio: Fix bug that server event loop breaks with exception 2016-03-04 22:43:36 +09:00
asio_server_http2.cc asio: Rename http2::get_io_services() as http2::io_services() 2015-12-25 21:06:25 +09:00
asio_server_http2_handler.cc asio: server: Limit incoming request header field buffer size 2016-02-11 23:20:31 +09:00
asio_server_http2_handler.h libnghttp2_asio: Optimized remote endpoint interface to const ref where possible 2015-12-19 14:08:15 +01:00
asio_server_http2_impl.cc Enable ConstructorInitializerAllOnOneLineOrOnePerLine for better diff 2016-01-27 21:14:07 +09:00
asio_server_http2_impl.h asio: Rename http2::get_io_services() as http2::io_services() 2015-12-25 21:06:25 +09:00
asio_server_request.cc libnghttp2_asio: Optimized remote endpoint interface to const ref where possible 2015-12-19 14:08:15 +01:00
asio_server_request_handler.cc nghttpx: Add custom error pages 2016-03-19 23:41:21 +09:00
asio_server_request_handler.h asio: Make redirect_handler and status_handler part of public API 2015-03-05 23:32:21 +09:00
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 asio: Add server::response::write_trailer() 2015-03-07 19:26:42 +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 Fix compile error "chosen constructor is explicit in copy-initialization" 2015-03-14 15:54:55 +09:00
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: Add serve_mux class to route incoming requet by path 2015-03-05 02:12:32 +09:00
asio_server_stream.cc asio: Fix compile error with gcc 2015-03-06 02:05:01 +09:00
asio_server_stream.h asio: Fix compile error with gcc 2015-03-06 02:05:01 +09:00
asio_server_tls_context.cc asio: ALPN support 2015-11-07 22:53:25 +09:00
asio_server_tls_context.h asio: Clean up server API to explicitly set error code 2015-03-07 01:10:49 +09:00
base64.h src: Faster base64 2016-01-27 15:31:09 +09:00
base64_test.cc src: Faster base64 2016-01-27 15:31:09 +09:00
base64_test.h src: Faster base64 2016-01-27 15:31:09 +09:00
buffer.h nghttpx: Add shared session cache using memcached 2015-07-26 23:33:06 +09:00
buffer_test.cc src: Remove ringbuf.h, use buffer.h instead 2015-02-06 23:40:34 +09:00
buffer_test.h Check more headers and funcs 2015-05-13 23:29:20 +09:00
comp_helper.c Use -fvisibility=hidden for internal functions 2015-10-23 00:08:15 +09:00
comp_helper.h Use -fvisibility=hidden for internal functions 2015-10-23 00:08:15 +09:00
deflatehd.cc Use -fvisibility=hidden for internal functions 2015-10-23 00:08:15 +09:00
h2load.cc h2load: Enable kqueue if it is available in the running platform 2016-05-06 23:40:55 +09:00
h2load.h h2load: Fix bug that it did not try to connect to server again 2016-03-02 22:24:14 +09:00
h2load_http1_session.cc Enable ConstructorInitializerAllOnOneLineOrOnePerLine for better diff 2016-01-27 21:14:07 +09:00
h2load_http1_session.h h2load: Perform sampling for request timings to reduce memory consumption 2016-01-06 00:04:14 +09:00
h2load_http2_session.cc h2load: Robust error handling in POST data 2016-05-14 00:40:35 +09:00
h2load_http2_session.h h2load: Perform sampling for request timings to reduce memory consumption 2016-01-06 00:04:14 +09:00
h2load_session.h h2load: Perform sampling for request timings to reduce memory consumption 2016-01-06 00:04:14 +09:00
h2load_spdy_session.cc h2load: Perform sampling for request timings to reduce memory consumption 2016-01-06 00:04:14 +09:00
h2load_spdy_session.h h2load: Perform sampling for request timings to reduce memory consumption 2016-01-06 00:04:14 +09:00
http-parser.patch Add patch for http-parser to handle tunneling connection transparently 2012-12-20 01:05:51 +09:00
http2.cc src: parse_link_header takes StringRef 2016-03-25 23:51:42 +09:00
http2.h src: parse_link_header takes StringRef 2016-03-25 23:51:42 +09:00
http2_test.cc src: parse_link_header takes StringRef 2016-03-25 23:51:42 +09:00
http2_test.h src: Remove unused functions 2016-02-21 16:51:46 +09:00
inflatehd.cc Use -fvisibility=hidden for internal functions 2015-10-23 00:08:15 +09:00
libevent_util.cc Enable ConstructorInitializerAllOnOneLineOrOnePerLine for better diff 2016-01-27 21:14:07 +09:00
libevent_util.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
libnghttp2_asio.pc.in Add C++ library libnghttp2_asio on top of libnghttp2 2014-09-24 00:45:40 +09:00
memchunk.h Enable ConstructorInitializerAllOnOneLineOrOnePerLine for better diff 2016-01-27 21:14:07 +09:00
memchunk_test.cc Switch to clang-format-3.6 2015-11-13 00:53:29 +09:00
memchunk_test.h nghttpx: Rewrite TLS async handshake using memchunk buffers 2015-08-13 00:42:59 +09:00
network.h src: Rename and rewrite numeric_hostport as to_numeric_addr and support AF_UNIX path 2016-02-21 15:28:11 +09:00
nghttp.cc nghttp: More robust error handling while reading file 2016-05-14 00:23:44 +09:00
nghttp.h nghttp: Use nghttp2_session_mem_recv 2016-04-21 23:30:35 +09:00
nghttp2_config.h Remove monotonic_clock replacement macro for gcc-4.6 2015-07-29 21:19:33 +09:00
nghttp2_gzip.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_gzip.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_gzip_test.c More warning flags for --enable-werror 2015-09-23 16:49:45 +09:00
nghttp2_gzip_test.h Check more headers and funcs 2015-05-13 23:29:20 +09:00
nghttpd.cc nghttpd: Fix compile error with Android NDK 2016-03-23 01:16:02 +09:00
shrpx-unittest.cc src: Rewrite strifind 2016-03-25 00:27:59 +09:00
shrpx.cc src: Compile with OpenSSL 1.1.0-pre5 2016-05-07 16:18:58 +09:00
shrpx.h Check initgroups with AC_CHECK_DECLS for cygwin 2015-12-24 21:15:46 +09:00
shrpx_accept_handler.cc Rename FrontendAddr as UpstreamAddr 2016-02-07 17:51:53 +09:00
shrpx_accept_handler.h Rename FrontendAddr as UpstreamAddr 2016-02-07 17:51:53 +09:00
shrpx_client_handler.cc nghttpx: Add mruby env.server_port to return frontend server side port 2016-04-28 00:19:30 +09:00
shrpx_client_handler.h nghttpx: Add mruby env.server_port to return frontend server side port 2016-04-28 00:19:30 +09:00
shrpx_config.cc nghttpx: Enable kqueue by default 2016-05-06 23:10:09 +09:00
shrpx_config.h src: Compile with OpenSSL 1.1.0-pre5 2016-05-07 16:18:58 +09:00
shrpx_config_test.cc nghttpx: Remove strieq(const char*, cosnt char*) overload, and fix unittests 2016-03-24 23:34:56 +09:00
shrpx_config_test.h Initial HTTP/1.1 capability. Add npn-list option to h2load. Make NPN/ALPN more runtime dependent 2015-09-17 14:49:27 +00:00
shrpx_connect_blocker.cc nghttpx: Don't re-enter offline if it is already in offline mode 2016-05-21 10:28:16 +09:00
shrpx_connect_blocker.h nghttpx: Don't re-enter offline if it is already in offline mode 2016-05-21 10:28:16 +09:00
shrpx_connection.cc src: Compile with OpenSSL 1.1.0-pre5 2016-05-07 16:18:58 +09:00
shrpx_connection.h src: Compile with OpenSSL 1.1.0-pre5 2016-05-07 16:18:58 +09:00
shrpx_connection_handler.cc nghttpx: Enable kqueue by default 2016-05-06 23:10:09 +09:00
shrpx_connection_handler.h nghttpx: Add encryption support for TLS ticket key retrieval 2016-02-13 18:46:07 +09:00
shrpx_downstream.cc nghttpx: Don't keep backend connection if request buffer is not empty 2016-05-14 17:16:50 +09:00
shrpx_downstream.h nghttpx: Always expect response trailer fields 2016-04-27 23:00:36 +09:00
shrpx_downstream_connection.cc nghttpx: Separate Downstream address group from config to runtime 2016-02-28 00:19:18 +09:00
shrpx_downstream_connection.h nghttpx: Separate Downstream address group from config to runtime 2016-02-28 00:19:18 +09:00
shrpx_downstream_connection_pool.cc nghttpx: Separate Downstream address group from config to runtime 2016-02-28 00:19:18 +09:00
shrpx_downstream_connection_pool.h nghttpx: Separate Downstream address group from config to runtime 2016-02-28 00:19:18 +09:00
shrpx_downstream_queue.cc nghttpx: Use StringRef for authority, scheme and path 2016-03-12 21:12:26 +09:00
shrpx_downstream_queue.h nghttpx: Use StringRef for authority, scheme and path 2016-03-12 21:12:26 +09:00
shrpx_downstream_test.cc nghttpx: Make a copy before adding header to Downstream 2016-03-12 21:12:26 +09:00
shrpx_downstream_test.h nghttpx: Make a copy before adding header to Downstream 2016-03-12 21:12:26 +09:00
shrpx_error.h nghttpx: Add response mruby hook 2015-09-03 01:33:52 +09:00
shrpx_http.cc Rewrite concat_string_ref 2016-03-20 17:55:17 +09:00
shrpx_http.h nghttpx: Add custom error pages 2016-03-19 23:41:21 +09:00
shrpx_http2_downstream_connection.cc nghttpx: Use NGHTTP2_DATA_FLAG_NO_COPY for backend HTTP/2 session 2016-05-14 17:17:27 +09:00
shrpx_http2_downstream_connection.h nghttpx: Separate Downstream address group from config to runtime 2016-02-28 00:19:18 +09:00
shrpx_http2_session.cc nghttpx: Call downstream_failure where it should be 2016-05-21 10:30:09 +09:00
shrpx_http2_session.h nghttpx: Use NGHTTP2_DATA_FLAG_NO_COPY for backend HTTP/2 session 2016-05-14 17:17:27 +09:00
shrpx_http2_upstream.cc nghttpx: Don't restart SETTINGS timer, and fix log message in HTTP/2 frontend 2016-05-21 10:29:11 +09:00
shrpx_http2_upstream.h nghttpx: Use StringRef for authority, scheme and path 2016-03-12 21:12:26 +09:00
shrpx_http_downstream_connection.cc nghttpx: Refactor 2016-05-15 21:05:20 +09:00
shrpx_http_downstream_connection.h nghttpx: Fix downstream connect callback called early 2016-04-24 20:49:38 -07:00
shrpx_http_test.cc nghttpx: Rewrite create_forwarded to use BlockAllocator 2016-03-12 21:13:09 +09:00
shrpx_http_test.h src: Rewrite http:create_via_header_value 2016-03-12 21:13:09 +09:00
shrpx_https_upstream.cc nghttpx: Add connection: close to mruby response in graceful shutdown period 2016-05-18 01:21:23 +09:00
shrpx_https_upstream.h src: Simplify function parameter using StringRef 2016-03-04 00:38:43 +09:00
shrpx_io_control.cc nghttpx: Remove unused IOControl::set_lim 2015-01-03 00:19:41 +09:00
shrpx_io_control.h nghttpx: Remove unused IOControl::set_lim 2015-01-03 00:19:41 +09:00
shrpx_live_check.cc nghttpx: Wait for SETTINGS ACK to make sure that backend h2 server is alive 2016-05-21 00:30:54 +09:00
shrpx_live_check.h nghttpx: Wait for SETTINGS ACK to make sure that backend h2 server is alive 2016-05-21 00:30:54 +09:00
shrpx_log.cc nghttpx: Refactor option handling using StringRef 2016-03-24 22:15:58 +09:00
shrpx_log.h nghttpx: Refactor option handling using StringRef 2016-03-24 22:15:58 +09:00
shrpx_log_config.cc Switch to clang-format-3.6 2015-11-13 00:53:29 +09:00
shrpx_log_config.h nghttpx: Add date header field to error_reply and send_reply 2015-09-07 23:11:23 +09:00
shrpx_memcached_connection.cc nghttpx: Enable TLS session cache again in memcached connection 2016-04-28 22:57:34 +09:00
shrpx_memcached_connection.h nghttpx: Enable TLS session cache again in memcached connection 2016-04-28 22:57:34 +09:00
shrpx_memcached_dispatcher.cc nghttpx: Add TLS support for session cache memcached connection 2016-02-13 18:46:07 +09:00
shrpx_memcached_dispatcher.h src: Rename and rewrite numeric_hostport as to_numeric_addr and support AF_UNIX path 2016-02-21 15:28:11 +09:00
shrpx_memcached_request.h nghttpx: Add shared session cache using memcached 2015-07-26 23:33:06 +09:00
shrpx_memcached_result.h nghttpx: Add TLS ticket key sharing among nghttpx instances using memcached 2015-07-28 00:54:44 +09:00
shrpx_mruby.cc nghttpx: Fix mruby compile error, clean up add_header interface 2016-02-20 23:30:02 +09:00
shrpx_mruby.h nghttpx: Fix mruby compile error, clean up add_header interface 2016-02-20 23:30:02 +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.server_addr and env.tls_used attributes 2016-04-29 12:17:25 +09:00
shrpx_mruby_module_env.h nghttpx: Rewrite API; introduce Env object 2015-09-05 00:53:42 +09:00
shrpx_mruby_module_request.cc nghttpx: Make a copy before adding header to Downstream 2016-03-12 21:12:26 +09:00
shrpx_mruby_module_request.h nghttpx: Split up request class definition to dedicated files 2015-09-02 22:38:57 +09:00
shrpx_mruby_module_response.cc src: Return StringRef from http2::stringify_status 2016-03-12 21:13:09 +09:00
shrpx_mruby_module_response.h nghttpx: Add Response mruby object 2015-09-03 00:40:14 +09:00
shrpx_process.h nghttpx: Fix improper signal handling 2015-09-24 23:43:24 +09:00
shrpx_rate_limit.cc Enable ConstructorInitializerAllOnOneLineOrOnePerLine for better diff 2016-01-27 21:14:07 +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: Use StringRef for string parameters in match_downstream_addr_group 2016-02-14 20:48:06 +09:00
shrpx_router.h nghttpx: Use StringRef for string parameters in match_downstream_addr_group 2016-02-14 20:48:06 +09:00
shrpx_signal.cc nghttpx: Add error handling for strdup and sigaction 2015-10-16 22:33:48 +09:00
shrpx_signal.h nghttpx: Fix improper signal handling 2015-09-24 23:43:24 +09:00
shrpx_spdy_upstream.cc nghttpx: Retry next HTTP/2 backend address when connection cannot be made 2016-04-13 00:38:08 +09:00
shrpx_spdy_upstream.h src: Simplify function parameter using StringRef 2016-03-04 00:38:43 +09:00
shrpx_ssl.cc src: Compile with OpenSSL 1.1.0-pre5 2016-05-07 16:18:58 +09:00
shrpx_ssl.h nghttpx: Destroy SSL object, and always lookup TLS session cache 2016-04-28 22:25:55 +09:00
shrpx_ssl_test.cc nghttpx: Fix compile error on travis 2016-03-25 02:28:10 +09:00
shrpx_ssl_test.h nghttpx: Refactor TLS hostname match 2016-01-16 23:54:21 +09:00
shrpx_upstream.h nghttpx: Fix bug that server push from mruby script did not work 2016-04-16 18:52:14 +09:00
shrpx_worker.cc nghttpx: Don't re-enter offline if it is already in offline mode 2016-05-21 10:28:16 +09:00
shrpx_worker.h nghttpx: Add sni keyword to --backend option 2016-04-29 14:42:18 +09:00
shrpx_worker_process.cc nghttpx: Refactor 2016-05-15 21:05:20 +09:00
shrpx_worker_process.h nghttpx: Split monolithic one process into control and worker processes 2015-09-18 23:28:26 +09:00
shrpx_worker_test.cc nghttpx: "*" must match at least one character 2016-03-22 22:40:23 +09:00
shrpx_worker_test.h src: Fix tests 2016-02-29 00:05:32 +09:00
ssl.cc src: Compile with OpenSSL 1.1.0-pre5 2016-05-07 16:18:58 +09:00
ssl.h nghttpx: Add --no-http2-cipher-black-list to allow black listed cipher suite 2016-02-06 17:05:14 +09:00
ssl_compat.h src: Compile with OpenSSL 1.1.0-pre5 2016-05-07 16:18:58 +09:00
template.h nghttpx: Add sni keyword to --backend option 2016-04-29 14:42:18 +09:00
template_test.cc nghttpx: Support multiple frontend addresses 2016-02-01 23:10:29 +09:00
template_test.h src: Add tests for ImmutableString and StringRef 2016-01-17 16:32:55 +09:00
timegm.c Fix build error with Android NDK 2015-07-30 22:57:25 +09:00
timegm.h src: Don't use struct tm.tm_yday from strptime 2015-07-19 17:14:25 +09:00
util.cc src: Handle return value of getsockopt 2016-04-24 00:42:11 +09:00
util.h src: Don't allow const char * in starts_with 2016-03-25 23:20:48 +09:00
util_test.cc src: Don't allow const char * in starts_with 2016-03-25 23:20:48 +09:00
util_test.h src: Rewrite strifind 2016-03-25 00:27:59 +09:00