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 7677076..e2aeb4a 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -164,7 +164,7 @@ do_check_options([Opt={Name, _}|Opts]) ->
name() -> http2.
opts_name() -> http2_opts.
has_keepalive() -> true.
-default_keepalive() -> 5000.
+default_keepalive() -> infinity.
init(_ReplyTo, Socket, Transport, Opts0) ->
%% We have different defaults than the protocol in order