aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_http2.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-06-03 21:11:28 +0200
committerLoïc Hoguin <[email protected]>2018-06-03 21:11:28 +0200
commit1be0151ec7b6a98064e648d5598f56cbdec65dc7 (patch)
tree48cab796ea085c658d799b8d10dbc638d9e43934 /src/gun_http2.erl
parent34307a584149abbf0b2e5b33beb2fca4c585b0d1 (diff)
downloadgun-1be0151ec7b6a98064e648d5598f56cbdec65dc7.tar.gz
gun-1be0151ec7b6a98064e648d5598f56cbdec65dc7.tar.bz2
gun-1be0151ec7b6a98064e648d5598f56cbdec65dc7.zip
Rename gun_data and gun_sse to gun_data_h and gun_sse_h
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,