aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-03-02 19:35:24 +0100
committerLoïc Hoguin <[email protected]>2017-03-02 19:35:24 +0100
commit0d81dc04f1d2194027ab918835b16a9fc0bceb9b (patch)
treeb4be920c382f975a18ff247eb6d5e7d4a67f431b /src
parentbb83a6ce33288c04250497318565ac499282c720 (diff)
downloadcowboy-0d81dc04f1d2194027ab918835b16a9fc0bceb9b.tar.gz
cowboy-0d81dc04f1d2194027ab918835b16a9fc0bceb9b.tar.bz2
cowboy-0d81dc04f1d2194027ab918835b16a9fc0bceb9b.zip
Add more HTTP/2 tests for RFC7540 4.1 and 4.3
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_http2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl
index 7cb564c..780cf05 100644
--- a/src/cowboy_http2.erl
+++ b/src/cowboy_http2.erl
@@ -298,7 +298,7 @@ frame(State, {priority, _StreamID, _IsExclusive, _DepStreamID, _Weight}) ->
State;
%% RST_STREAM frame.
frame(State, {rst_stream, StreamID, Reason}) ->
- stream_reset(State, StreamID, {stream_error, Reason, 'Stream reset requested by client.'});
+ stream_terminate(State, StreamID, {stream_error, Reason, 'Stream reset requested by client.'});
%% SETTINGS frame.
frame(State=#state{socket=Socket, transport=Transport}, {settings, _Settings}) ->
%% @todo Apply SETTINGS.