aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_http2.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun_http2.erl')
-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 558dce5..1f25e83 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -96,7 +96,7 @@ do_check_options([Opt|_]) ->
name() -> http2.
init(Owner, Socket, Transport, Opts) ->
- Handlers = maps:get(content_handlers, Opts, [gun_data]),
+ Handlers = maps:get(content_handlers, Opts, [gun_data_h]),
State = #http2_state{owner=Owner, socket=Socket,
transport=Transport, opts=Opts, content_handlers=Handlers},
#http2_state{local_settings=Settings} = State,