Browse Source

Rename the HTTP/2 Websocket test suite to rfc8441_SUITE

Loïc Hoguin 6 years ago
parent
commit
a0f8d9b8b8
1 changed files with 7 additions and 1 deletions
  1. 7 1
      test/rfc8441_SUITE.erl

+ 7 - 1
test/draft_h2_websockets_SUITE.erl → 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