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 095056a..330b505 100644
--- a/src/gun_http2.erl
+++ b/src/gun_http2.erl
@@ -250,7 +250,7 @@ data(State=#http2_state{socket=Socket, transport=Transport},
#stream{local=fin} ->
error_stream_closed(State, StreamRef);
S = #stream{} ->
- Transport:send(Socket, cow_spdy:data(S#stream.id, IsFin, Data)),
+ Transport:send(Socket, cow_http2:data(S#stream.id, IsFin, Data)),
local_fin(S, State, IsFin);
false ->
error_stream_not_found(State, StreamRef)