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 330b505..2b7dbc0 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -197,7 +197,7 @@ close_streams(Owner, [#stream{ref=StreamRef}|Tail]) ->
close_streams(Owner, Tail).
keepalive(State=#http2_state{socket=Socket, transport=Transport}) ->
- Transport:send(Socket, cow_http2:ping(<< 0:64 >>)),
+ Transport:send(Socket, cow_http2:ping(0)),
State.
%% @todo Shouldn't always be HTTPS scheme. We need to properly keep track of it.