0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Update gun_down messages in test suites

This commit is contained in:
Loïc Hoguin 2019-10-02 10:10:43 +02:00
parent 6ddabc2c21
commit e1d4524118
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
4 changed files with 4 additions and 4 deletions

View file

@ -962,7 +962,7 @@ stream_body_content_length_nofin_error(Config) ->
%% The server closes the connection when the body couldn't be sent fully.
{error, {stream_error, closed}} ->
receive
{gun_down, ConnPid, _, _, _, _} ->
{gun_down, ConnPid, _, _, _} ->
gun:close(ConnPid)
after 1000 ->
error(timeout)