From 8fdb74a5108fa8ec4e9a14fe7a9bc9686d7aad63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 19 Dec 2023 11:09:54 +0100 Subject: Shave off a few more seconds from rfc7540_SUITE --- src/cowboy_http2.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl index ebd02bc..04935fb 100644 --- a/src/cowboy_http2.erl +++ b/src/cowboy_http2.erl @@ -1094,6 +1094,7 @@ terminate(State=#state{socket=Socket, transport=Transport, http2_status=Status, end, terminate_all_streams(State, maps:to_list(Streams), Reason), cowboy_children:terminate(Children), + %% @todo Don't linger on connection errors. terminate_linger(State), exit({shutdown, Reason}); %% We are not fully connected so we can just terminate the connection. -- cgit v1.2.3