mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Shave off a few more seconds from rfc7540_SUITE
This commit is contained in:
parent
627a4508b5
commit
8fdb74a510
2 changed files with 15 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue