aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-03-14 13:25:50 +0100
committerLoïc Hoguin <[email protected]>2024-03-14 13:25:50 +0100
commitf0c19d6674d792defc181333e20268b785ce4321 (patch)
treecfb736e1ba72bc07b27f460e36c32d548243feaf /src
parentffde92536bc09c4c93a6d93bb24cefef3d9d9095 (diff)
downloadgun-f0c19d6674d792defc181333e20268b785ce4321.tar.gz
gun-f0c19d6674d792defc181333e20268b785ce4321.tar.bz2
gun-f0c19d6674d792defc181333e20268b785ce4321.zip
Update Cowlib to 2.13.0
Diffstat (limited to 'src')
-rw-r--r--src/gun.erl3
-rw-r--r--src/gun_http2.erl2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl
index db6965b..63f0ae8 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -237,12 +237,13 @@
max_concurrent_streams => non_neg_integer() | infinity,
max_decode_table_size => non_neg_integer(),
max_encode_table_size => non_neg_integer(),
+ max_fragmented_header_block_size => 16384..16#7fffffff,
max_frame_size_received => 16384..16777215,
max_frame_size_sent => 16384..16777215 | infinity,
- max_stream_buffer_size => non_neg_integer(),
max_stream_window_size => 0..16#7fffffff,
preface_timeout => timeout(),
settings_timeout => timeout(),
+ stream_window_data_threshold => 0..16#7fffffff,
stream_window_margin_size => 0..16#7fffffff,
stream_window_update_threshold => 0..16#7fffffff,
diff --git a/src/gun_http2.erl b/src/gun_http2.erl
index 4b35c76..71e01d4 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -160,11 +160,13 @@ do_check_options([Opt={Name, _}|Opts]) ->
max_concurrent_streams,
max_decode_table_size,
max_encode_table_size,
+ max_fragmented_header_block_size,
max_frame_size_received,
max_frame_size_sent,
max_stream_window_size,
preface_timeout,
settings_timeout,
+ stream_window_data_threshold,
stream_window_margin_size,
stream_window_update_threshold
],