aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gun_http2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl
index 1e59a7e..9159d78 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -63,7 +63,7 @@ do_check_options([]) ->
do_check_options([Opt={content_handlers, Handlers}|Opts]) ->
case gun_content_handler:check_option(Handlers) of
ok -> do_check_options(Opts);
- error -> {error, {options, {http, Opt}}}
+ error -> {error, {options, {http2, Opt}}}
end;
do_check_options([{keepalive, infinity}|Opts]) ->
do_check_options(Opts);