diff options
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 095056a..7713dc1 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. |