summaryrefslogtreecommitdiffstats
path: root/src/h2load.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:52:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:52:22 +0000
commit6a7eecec57783a042d12f895d5ae148c44f4d074 (patch)
tree77a2c3c5612655f1dd15e9a2ddf14e13bab90b1f /src/h2load.h
parentReleasing progress-linux version 1.59.0-1~progress7.99u1. (diff)
downloadnghttp2-6a7eecec57783a042d12f895d5ae148c44f4d074.tar.xz
nghttp2-6a7eecec57783a042d12f895d5ae148c44f4d074.zip
Merging upstream version 1.60.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/h2load.h')
-rw-r--r--src/h2load.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/h2load.h b/src/h2load.h
index 11bb54c..860bf77 100644
--- a/src/h2load.h
+++ b/src/h2load.h
@@ -43,6 +43,7 @@
#include <chrono>
#include <array>
+#define NGHTTP2_NO_SSIZE_T
#include <nghttp2/nghttp2.h>
#ifdef ENABLE_HTTP3
@@ -92,7 +93,7 @@ struct Config {
size_t nclients;
size_t nthreads;
// The maximum number of concurrent streams per session.
- ssize_t max_concurrent_streams;
+ size_t max_concurrent_streams;
size_t window_bits;
size_t connection_window_bits;
size_t max_frame_size;
@@ -138,6 +139,9 @@ struct Config {
size_t max_udp_payload_size;
// Enable ktls.
bool ktls;
+ // sni is the value sent in TLS SNI, overriding DNS name of the
+ // remote host.
+ std::string sni;
Config();
~Config();