diff options
author | Loïc Hoguin <[email protected]> | 2018-06-03 21:11:28 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-06-03 21:11:28 +0200 |
commit | 1be0151ec7b6a98064e648d5598f56cbdec65dc7 (patch) | |
tree | 48cab796ea085c658d799b8d10dbc638d9e43934 /src/gun_http2.erl | |
parent | 34307a584149abbf0b2e5b33beb2fca4c585b0d1 (diff) | |
download | gun-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.erl | 2 |
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, |