summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-01-11 13:16:48 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-01-11 13:16:48 +0100
commit4548026c2386a393d7c9405d19af9cc1bd086c75 (patch)
treed2f314b5e90e05353fcbeaa992cf42003e3ec981
parent6b5bd37c87fdea605bdce63f86cadd2cd969402f (diff)
downloadcurl-bagder/stream-window.tar.gz
fixup http2.h to work with hyper h2 toobagder/stream-window
-rw-r--r--lib/http2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/http2.h b/lib/http2.h
index 8b484a48c..1177bef9f 100644
--- a/lib/http2.h
+++ b/lib/http2.h
@@ -24,15 +24,14 @@
#include "curl_setup.h"
+#define HTTP2_HUGE_WINDOW_SIZE (32 * 1024 * 1024) /* 32 MB */
+
#ifdef USE_NGHTTP2
#include "http.h"
/* value for MAX_CONCURRENT_STREAMS we use until we get an updated setting
from the peer */
#define DEFAULT_MAX_CONCURRENT_STREAMS 100
-
-#define HTTP2_HUGE_WINDOW_SIZE (32 * 1024 * 1024) /* 32 MB */
-
/*
* Store nghttp2 version info in this buffer.
*/