summaryrefslogtreecommitdiffstats
path: root/lib/nghttp2_option.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nghttp2_option.c')
-rw-r--r--lib/nghttp2_option.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/nghttp2_option.c b/lib/nghttp2_option.c
index 43d4e95..53144b9 100644
--- a/lib/nghttp2_option.c
+++ b/lib/nghttp2_option.c
@@ -150,3 +150,8 @@ void nghttp2_option_set_stream_reset_rate_limit(nghttp2_option *option,
option->stream_reset_burst = burst;
option->stream_reset_rate = rate;
}
+
+void nghttp2_option_set_max_continuations(nghttp2_option *option, size_t val) {
+ option->opt_set_mask |= NGHTTP2_OPT_MAX_CONTINUATIONS;
+ option->max_continuations = val;
+}