nghttp2/src
Tatsuhiro Tsujikawa b41835f19b h2load: Effectively disable flow control by setting large window size
Previously h2load used default flow control window as described in
HTTP/2 and SPDY specification.  The window size is 64KiB, which is a
bit small, and cannot utilize full server performance when response
size is not too small.  Basically, we do this kind of benchmarking
test to measure server's throughput, and optimal performance.  Smaller
window certainly degrades performance even in local testing because
server is so fast that it has to wait for WINDOW_UPDATE from h2load.
To make default behaviour suitable for peak performance test, we
decided to disable flow control in h2load by setting large enough
window size.

Most users used h2load without -w or -W options, so they were
implicitly throttled by flow control and the result was affected by
that negatively.  Now flow control is disabled by default, the result
may improve depending on the implementations.
2015-04-27 21:23:01 +09:00
..
includes asio: Document asynchronous parameter for listen_and_serve 2015-04-22 22:25:16 +09:00
.gitignore Refactor .gitignore files 2015-03-29 18:40:37 +09:00
HtmlParser.cc nghttp: Remove --dep-idle option 2015-04-17 22:24:06 +09:00
HtmlParser.h nghttp: Remove --dep-idle option 2015-04-17 22:24:06 +09:00
HttpServer.cc nghttpd: Cache fd 2015-04-19 17:38:06 +09:00
HttpServer.h nghttpd: Cache fd 2015-04-19 17:38:06 +09:00
Makefile.am nghttpx: Add OCSP stapling feature 2015-03-30 23:58:28 +09:00
app_helper.cc NULL-terminate name and value in nghttp2_nv 2015-03-23 23:25:57 +09:00
app_helper.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +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: Add client::request::write_trailer() 2015-03-07 23:04:31 +09:00
asio_client_request_impl.h asio: Add client::request::write_trailer() 2015-03-07 23:04:31 +09:00
asio_client_response.cc asio: Make impl() const 2015-03-05 02:12:31 +09:00
asio_client_response_impl.cc Use header_map instead of wrapping it 2015-03-05 02:12:31 +09:00
asio_client_response_impl.h asio: Separate client API to asio_http2_client.h 2015-03-05 02:12:31 +09:00
asio_client_session.cc asio: Add noexcept for move constructor and move assignment operator 2015-03-07 01:10:49 +09:00
asio_client_session_impl.cc asio: client: Call error_cb on error occurred in do_read and do_write 2015-04-13 21:33:43 +09:00
asio_client_session_impl.h asio: client: Call error_cb on error occurred in do_read and do_write 2015-04-13 21:33:43 +09:00
asio_client_session_tcp_impl.cc asio: Pass connected address to connect_cb 2015-03-05 02:12:31 +09:00
asio_client_session_tcp_impl.h asio: Separate client API to asio_http2_client.h 2015-03-05 02:12:31 +09:00
asio_client_session_tls_impl.cc asio: Pass connected address to connect_cb 2015-03-05 02:12:31 +09:00
asio_client_session_tls_impl.h asio: Separate client API to asio_http2_client.h 2015-03-05 02:12:31 +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: client::configure_tls_context takes error_code 2015-03-07 01:10:49 +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 asio: Add host_service_from_uri() to extract remote address from URI 2015-03-07 01:10:49 +09:00
asio_common.h asio: Rename *_reader as *_generator and read_cb as generator_cb 2015-03-06 01:47:55 +09:00
asio_io_service_pool.cc clang-format 2015-04-24 00:17:13 +09:00
asio_io_service_pool.h Graceful shutdown and joinable server 2015-04-22 17:51:28 +08:00
asio_server.cc clang-format 2015-04-24 00:17:13 +09:00
asio_server.h Graceful shutdown and joinable server 2015-04-22 17:51:28 +08:00
asio_server_connection.h asio: Move server classes to dedicated files 2015-03-05 21:42:48 +09:00
asio_server_http2.cc clang-format 2015-04-24 00:17:13 +09:00
asio_server_http2_handler.cc asio: Add server::response::write_trailer() 2015-03-07 19:26:42 +09:00
asio_server_http2_handler.h asio: Add server::response::write_trailer() 2015-03-07 19:26:42 +09:00
asio_server_http2_impl.cc clang-format 2015-04-24 00:17:13 +09:00
asio_server_http2_impl.h clang-format 2015-04-24 00:17:13 +09:00
asio_server_request.cc asio: Add dtor to API classes 2015-03-05 21:51:44 +09:00
asio_server_request_handler.cc asio: Rewrite response body handling if response body is not expected 2015-03-06 21:36:40 +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: Move server classes to dedicated files 2015-03-05 21:42:48 +09:00
asio_server_request_impl.h asio: Move server classes to dedicated files 2015-03-05 21:42:48 +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 asio: Add server::response::write_trailer() 2015-03-07 19:26:42 +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 asio: Fix path matching in server 2015-03-07 01:10:49 +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: Clean up server API to explicitly set error code 2015-03-07 01:10:49 +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 Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
buffer.h src: Use std::copy_n 2015-02-06 21:35:03 +09:00
buffer_test.cc src: Remove ringbuf.h, use buffer.h instead 2015-02-06 23:40:34 +09:00
buffer_test.h nghttpx: Replace RingBuf with sequential Buffer 2015-01-29 22:57:56 +09:00
comp_helper.c clang-format 2015-04-24 00:17:13 +09:00
comp_helper.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
deflatehd.cc deflatehd: Fix crash 2014-12-19 23:23:42 +09:00
h2load.cc h2load: Effectively disable flow control by setting large window size 2015-04-27 21:23:01 +09:00
h2load.h h2load: Remove unused fields in Client class 2015-03-28 20:17:30 +09:00
h2load_http2_session.cc src: Check return value from nghttp2_session_get_stream_user_data 2015-04-10 00:21:31 +09:00
h2load_http2_session.h h2load: Add request stats (time for request min, max, mean and sd) 2015-01-31 23:49:30 +09:00
h2load_session.h h2load: Add request stats (time for request min, max, mean and sd) 2015-01-31 23:49:30 +09:00
h2load_spdy_session.cc h2load: Add -d option to upload data to server 2015-03-26 19:53:42 +09:00
h2load_spdy_session.h h2load: Add request stats (time for request min, max, mean and sd) 2015-01-31 23:49:30 +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: constexpr 2015-04-12 17:51:23 +09:00
http2.h asio: Rewrite response body handling if response body is not expected 2015-03-06 21:36:40 +09:00
http2_test.cc nghttpx: Don't push resource if link header has non empty loadpolicy 2015-04-12 17:42:25 +09:00
http2_test.h nghttpx: Support server push using Link header field 2015-02-08 16:10:00 +09:00
inflatehd.cc Support custom memory allocator 2014-12-08 00:55:55 +09:00
libevent_util.cc Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +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 Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
memchunk_test.cc src: Move array_size to nghttp2 namespace 2015-02-06 22:44:09 +09:00
memchunk_test.h src: Add test for memchunk.h 2015-01-10 23:01:03 +09:00
nghttp.cc nghttp: Add --no-push option to disable server push 2015-04-17 23:35:16 +09:00
nghttp.h nghttp: Add --no-push option to disable server push 2015-04-17 23:35:16 +09:00
nghttp2_config.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +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 Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_gzip_test.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttpd.cc src: Use separator "--" to mark start of the footer without ambiguity 2015-03-31 00:21:52 +09:00
shrpx-unittest.cc asio: Make redirect_handler use passed uri as is and percent-encode path part 2015-03-05 23:23:17 +09:00
shrpx.cc nghttpx: Add logging for somewhat important events (logs, tickets, and ocsp) 2015-04-11 00:08:28 +09:00
shrpx.h Compile with android NDK 2015-01-11 00:28:00 +09:00
shrpx_accept_handler.cc nghttpx: Disable acceptor temporarily when process runs out of fd 2015-03-10 21:25:20 +09:00
shrpx_accept_handler.h nghttpx: Rename ListenHandler as ConnectionHandler 2015-01-08 21:48:39 +09:00
shrpx_client_handler.cc nghttpx: Fix heap-use-after-free 2015-04-08 13:43:57 +09:00
shrpx_client_handler.h Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
shrpx_config.cc nghttpx: Remove --tls-ctx-per-worker option 2015-03-31 00:42:21 +09:00
shrpx_config.h nghttpx: Remove --tls-ctx-per-worker option 2015-03-31 00:42:21 +09:00
shrpx_config_test.cc nghttpx: Add --tls-ticket-key-file option 2015-01-08 01:26:30 +09:00
shrpx_config_test.h nghttpx: Add --tls-ticket-key-file option 2015-01-08 01:26:30 +09:00
shrpx_connect_blocker.cc nghttpx: Don't call ev_TYPE_set macro while watcher is active 2015-01-21 21:43:49 +09:00
shrpx_connect_blocker.h src: Use libev for rest of the applications 2015-01-03 00:19:41 +09:00
shrpx_connection.cc nghttpx: Fix bug that data buffered in SSL object are not read 2015-04-06 22:31:36 +09:00
shrpx_connection.h nghttpx: Fix bug that data buffered in SSL object are not read 2015-04-06 22:31:36 +09:00
shrpx_connection_handler.cc nghttpx: Add logging for somewhat important events (logs, tickets, and ocsp) 2015-04-11 00:08:28 +09:00
shrpx_connection_handler.h nghttpx: Rewrite ocsp without thread 2015-04-09 01:03:28 +09:00
shrpx_downstream.cc Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
shrpx_downstream.h nghttpx: Increase maximum header field set size 2015-04-22 22:27:48 +09:00
shrpx_downstream_connection.cc Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
shrpx_downstream_connection.h nghttpx: Support multiple HTTP/2 session per worker 2015-03-10 23:20:21 +09:00
shrpx_downstream_connection_pool.cc Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
shrpx_downstream_connection_pool.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
shrpx_downstream_queue.cc nghttpx: Refactor DownstreamQueue to avoid expensive std::map 2015-03-12 01:13:55 +09:00
shrpx_downstream_queue.h nghttpx: Refactor DownstreamQueue to avoid expensive std::map 2015-03-12 01:13:55 +09:00
shrpx_downstream_test.cc Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
shrpx_downstream_test.h nghttpd, nghttpx: Rework incoming header handling 2015-01-05 01:46:41 +09:00
shrpx_error.h Share I/O code with all upstreams/downstream objects 2015-02-05 03:05:34 +09:00
shrpx_http.cc src: Add missing dquote in HTML 2015-03-05 23:34:42 +09:00
shrpx_http.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
shrpx_http2_downstream_connection.cc nghttpx: Forward only "trailers" keyword in te when forwarding HTTP/2 backend 2015-03-25 01:20:41 +09:00
shrpx_http2_downstream_connection.h nghttpx: Use doubly linked list for dconns_ and streams_ 2015-03-11 21:35:47 +09:00
shrpx_http2_session.cc nghttpx: Don't set response content-length if HTTP/2 response upgraded 2015-04-10 22:24:17 +09:00
shrpx_http2_session.h nghttpx: Rename Http2Session::on_connect as connection_made 2015-03-28 20:19:17 +09:00
shrpx_http2_upstream.cc nghttpx: Set content-length after complete request/response headers 2015-04-10 22:10:51 +09:00
shrpx_http2_upstream.h Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
shrpx_http_downstream_connection.cc nghttpx: Robust HTTP/1 backend CL and TE handling 2015-04-10 22:30:20 +09:00
shrpx_http_downstream_connection.h nghttpx: Add flag to track connection state in HTTP/1 backend 2015-03-29 01:47:22 +09:00
shrpx_https_upstream.cc Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
shrpx_https_upstream.h Pool Memchunk per worker 2015-04-08 00:10:48 +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_log.cc nghttpx: Redirect stderr to errorlog file 2015-04-08 16:59:58 +09:00
shrpx_log.h nghttpx: Redirect stderr to errorlog file 2015-04-08 16:59:58 +09:00
shrpx_log_config.cc Merge branch 'pthread-getspecific' of https://github.com/icing/nghttp2 into icing-pthread-getspecific 2015-03-05 02:04:56 +09:00
shrpx_log_config.h replacing thread_local, which does not exist on OS X, with pthread_getspecific call 2015-03-03 17:09:15 +01:00
shrpx_rate_limit.cc nghttpx: Fix bug that data buffered in SSL object are not read 2015-04-06 22:31:36 +09:00
shrpx_rate_limit.h nghttpx: Fix bug that data buffered in SSL object are not read 2015-04-06 22:31:36 +09:00
shrpx_spdy_upstream.cc Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
shrpx_spdy_upstream.h Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
shrpx_ssl.cc nghttpx: Rewrite ocsp without thread 2015-04-09 01:03:28 +09:00
shrpx_ssl.h nghttpx: Rewrite ocsp without thread 2015-04-09 01:03:28 +09:00
shrpx_ssl_test.cc src: Move array_size to nghttp2 namespace 2015-02-06 22:44:09 +09:00
shrpx_ssl_test.h src: Use C++ style comments for C++ source code 2014-05-14 23:22:23 +09:00
shrpx_upstream.h Pool Memchunk per worker 2015-04-08 00:10:48 +09:00
shrpx_worker.cc nghttpx: Add logging for somewhat important events (logs, tickets, and ocsp) 2015-04-11 00:08:28 +09:00
shrpx_worker.h nghttpx: Fix heap-use-after-free 2015-04-08 13:43:57 +09:00
ssl.cc Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
ssl.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
template.h nghttpx: Refactor DownstreamQueue to avoid expensive std::map 2015-03-12 01:13:55 +09:00
timegm.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
timegm.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
util.cc clang-format 2015-04-24 00:17:13 +09:00
util.h nghttp, nghttpd: Add --hexdump option to hexdump incoming traffic 2015-03-24 02:30:51 +09:00
util_test.cc nghttpx: Add OCSP stapling feature 2015-03-30 23:58:28 +09:00
util_test.h asio: Make redirect_handler use passed uri as is and percent-encode path part 2015-03-05 23:23:17 +09:00