test(quic): by default, bind to port not IPv4

This commit is contained in:
William Yang 2023-02-16 14:54:03 +01:00
parent 3f7032fbe9
commit ebd0fb74a3
2 changed files with 6 additions and 4 deletions

View File

@ -499,8 +499,8 @@ ensure_quic_listener(Name, UdpPort) ->
application:ensure_all_started(quicer),
Conf = #{
acceptors => 16,
bind => {{0, 0, 0, 0}, UdpPort},
certfile => filename:join(code:lib_dir(emqx), "etc/certs/cert.pem"),
bind => UdpPort,
ciphers =>
[
"TLS_AES_256_GCM_SHA384",
@ -509,7 +509,9 @@ ensure_quic_listener(Name, UdpPort) ->
],
enabled => true,
idle_timeout => 15000,
keyfile => filename:join(code:lib_dir(emqx), "etc/certs/key.pem"),
ssl_options => #{ certfile => filename:join(code:lib_dir(emqx), "etc/certs/cert.pem"),
keyfile => filename:join(code:lib_dir(emqx), "etc/certs/key.pem")
},
limiter => #{},
max_connections => 1024000,
mountpoint => <<>>,

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
exit 0
latest_release=$(git describe --abbrev=0 --tags --exclude '*rc*' --exclude '*alpha*' --exclude '*beta*' --exclude '*docker*')
echo "Compare base: $latest_release"