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

Correcting TransOpts in send_timeout_close tests

This commit is contained in:
Björn Svensson 2024-05-16 12:23:15 +02:00 committed by Loïc Hoguin
parent 49061587be
commit 662f6af982
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
2 changed files with 2 additions and 2 deletions

View file

@ -449,8 +449,8 @@ graceful_shutdown_listener_timeout(Config) ->
send_timeout_close(Config) ->
doc("Check that connections are closed on send timeout."),
TransOpts = #{
port => 0,
socket_opts => [
{port, 0},
{send_timeout, 100},
{send_timeout_close, true},
{sndbuf, 10}