diff options
author | Loïc Hoguin <[email protected]> | 2019-01-05 17:50:30 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-01-05 17:50:30 +0100 |
commit | ab72796fdcc30a1227cbdd9069bd36aff14ebcfc (patch) | |
tree | 9eb721b1e9e050453207ff1f8f7f23d344cfbe77 /src/gun_http2.erl | |
parent | bd91a3207f4376bd63a72f6c5b1ebabb11747634 (diff) | |
download | gun-ab72796fdcc30a1227cbdd9069bd36aff14ebcfc.tar.gz gun-ab72796fdcc30a1227cbdd9069bd36aff14ebcfc.tar.bz2 gun-ab72796fdcc30a1227cbdd9069bd36aff14ebcfc.zip |
Clarify option errors in the manual for gun:open/open_unix
Also fix an http into http2 for one option.
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 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); |