test(quic): by default, bind to port not IPv4
This commit is contained in:
parent
3f7032fbe9
commit
ebd0fb74a3
|
@ -499,8 +499,8 @@ ensure_quic_listener(Name, UdpPort) ->
|
||||||
application:ensure_all_started(quicer),
|
application:ensure_all_started(quicer),
|
||||||
Conf = #{
|
Conf = #{
|
||||||
acceptors => 16,
|
acceptors => 16,
|
||||||
bind => {{0, 0, 0, 0}, UdpPort},
|
bind => UdpPort,
|
||||||
certfile => filename:join(code:lib_dir(emqx), "etc/certs/cert.pem"),
|
|
||||||
ciphers =>
|
ciphers =>
|
||||||
[
|
[
|
||||||
"TLS_AES_256_GCM_SHA384",
|
"TLS_AES_256_GCM_SHA384",
|
||||||
|
@ -509,7 +509,9 @@ ensure_quic_listener(Name, UdpPort) ->
|
||||||
],
|
],
|
||||||
enabled => true,
|
enabled => true,
|
||||||
idle_timeout => 15000,
|
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 => #{},
|
limiter => #{},
|
||||||
max_connections => 1024000,
|
max_connections => 1024000,
|
||||||
mountpoint => <<>>,
|
mountpoint => <<>>,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
exit 0
|
||||||
latest_release=$(git describe --abbrev=0 --tags --exclude '*rc*' --exclude '*alpha*' --exclude '*beta*' --exclude '*docker*')
|
latest_release=$(git describe --abbrev=0 --tags --exclude '*rc*' --exclude '*alpha*' --exclude '*beta*' --exclude '*docker*')
|
||||||
echo "Compare base: $latest_release"
|
echo "Compare base: $latest_release"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue