aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-09-21 16:12:19 +0200
committerLoïc Hoguin <[email protected]>2018-09-21 16:12:19 +0200
commita0f8d9b8b849d668109852006c76e07ece280e7d (patch)
tree4aaaa950cca30c072b4d77e65cfcb53b5a3688db /test
parent9901a3b56845ec4206caafe1d5f2779de34179e7 (diff)
downloadcowboy-a0f8d9b8b849d668109852006c76e07ece280e7d.tar.gz
cowboy-a0f8d9b8b849d668109852006c76e07ece280e7d.tar.bz2
cowboy-a0f8d9b8b849d668109852006c76e07ece280e7d.zip
Rename the HTTP/2 Websocket test suite to rfc8441_SUITE
Diffstat (limited to 'test')
-rw-r--r--test/rfc8441_SUITE.erl (renamed from test/draft_h2_websockets_SUITE.erl)8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/draft_h2_websockets_SUITE.erl b/test/rfc8441_SUITE.erl
index bf7f537..3105ddb 100644
--- a/test/draft_h2_websockets_SUITE.erl
+++ b/test/rfc8441_SUITE.erl
@@ -12,7 +12,7 @@
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
--module(draft_h2_websockets_SUITE).
+-module(rfc8441_SUITE).
-compile(export_all).
-compile(nowarn_export_all).
@@ -404,6 +404,12 @@ accept_handshake_when_enabled(Config) ->
%% Closing a Websocket stream.
+% The HTTP/2 stream closure is also analagous to the TCP connection closure of
+% [RFC6455]. Orderly TCP level closures are represented as END_STREAM
+% ([RFC7540] Section 6.1) flags and RST exceptions are represented with
+% the RST_STREAM ([RFC7540] Section 6.4) frame with the CANCEL
+% ([RFC7540] Secion 7) error code.
+
%% @todo client close frame with END_STREAM
%% @todo server close frame with END_STREAM
%% @todo client other frame with END_STREAM