aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilip Stears <[email protected]>2016-06-06 18:20:38 +0100
committerPhilip Stears <[email protected]>2016-06-06 18:21:38 +0100
commit50e34d49ec51db62a3b5da344bc2c6263b4646ff (patch)
tree6bd38b59a75bfc3a0447a03d4a165fd85b978fd8 /src
parentc02d3fd1096bfb35e6347d6e4f14ee56fa99e342 (diff)
downloadgun-50e34d49ec51db62a3b5da344bc2c6263b4646ff.tar.gz
gun-50e34d49ec51db62a3b5da344bc2c6263b4646ff.tar.bz2
gun-50e34d49ec51db62a3b5da344bc2c6263b4646ff.zip
gun_http2 erroneously using cow_spdy.
Diffstat (limited to 'src')
-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)