aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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
],