From 0d81dc04f1d2194027ab918835b16a9fc0bceb9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 2 Mar 2017 19:35:24 +0100 Subject: Add more HTTP/2 tests for RFC7540 4.1 and 4.3 --- src/cowboy_http2.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3