diff options
author | Loïc Hoguin <[email protected]> | 2023-12-19 11:09:54 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-12-19 11:09:54 +0100 |
commit | 8fdb74a5108fa8ec4e9a14fe7a9bc9686d7aad63 (patch) | |
tree | 074dc9e9754f4c6d0ff5846bc4dcc0a337dd8226 /src | |
parent | 627a4508b539f98fb632b4ff9a92a4f9c2c54890 (diff) | |
download | cowboy-8fdb74a5108fa8ec4e9a14fe7a9bc9686d7aad63.tar.gz cowboy-8fdb74a5108fa8ec4e9a14fe7a9bc9686d7aad63.tar.bz2 cowboy-8fdb74a5108fa8ec4e9a14fe7a9bc9686d7aad63.zip |
Shave off a few more seconds from rfc7540_SUITE
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy_http2.erl | 1 |
1 files changed, 1 insertions, 0 deletions
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. |