Files
piik/prototype
T
AAA d62440ce40 test(server): allocate the check Server's UDP port through UDP
run-browser-check.mjs reserved a free TCP port and let the Server bind UDP
on the same number. Windows reserves port ranges per protocol, so a free TCP
port can sit inside a UDP reservation. On a machine where
`netsh int ipv4 show excludedportrange protocol=udp` lists 52359-52458 and
the TCP list leaves 52360-52395 free, three protocol checks in a row ended
with "Bind Server UDP 0.0.0.0:52363 ... os error 10013".

Give the Server its own UDP port, as 3713fc4c did for room_creation_policy.
Only that child receives it, so the second Server that
browser-native-acceptance.mjs starts from the inherited environment does not
try to bind the same port.
d62440ce40 · 2026-11-25 03:03:21 +08:00
History
..