From c1490d7d5503636e7995583222cf8edf5f882db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 8 Jan 2024 11:44:34 +0100 Subject: Ensure HTTP/1.1 Websocket resets the trap_exit flag While we are identified as a supervisor in the tree, we no longer manage children processes at that point, so do not need to trap exit signals. Users can still enable trap_exit if they prefer to. --- test/ws_SUITE.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ws_SUITE.erl') diff --git a/test/ws_SUITE.erl b/test/ws_SUITE.erl index 9abeaca..126d8c6 100644 --- a/test/ws_SUITE.erl +++ b/test/ws_SUITE.erl @@ -341,6 +341,7 @@ ws_first_frame_with_handshake(Config) -> {ok, <<1:1, 0:3, 1:4, 0:1, 5:7, "Hello">>} = gen_tcp:recv(Socket, 0, 6000), ok. +%% @todo Move these tests to ws_handler_SUITE. ws_init_return_ok(Config) -> doc("Handler does nothing."), {ok, Socket, _} = do_handshake("/ws_init?ok", Config), -- cgit v1.2.3