mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
9bdfbb0534
* Avoid opening a server to the world when finding a free port. This is very annoying on macOS because we get a focus-stealing popup for a split second, asking for permission to allow the server through the firewall. The popup pretty much always disappears before it can even be read, when the server is closed. This is almost certainly not an attack vector, because: - we only do this in tests, - the server is open for only a few milliseconds, - nothing is served, - and finding the port is tricky, because it's effectively random. Nevertheless, it's very annoying. CHANGELOG_BEGIN CHANGELOG_END * Extract a Bazel package for finding free ports. We seem to do it in 4 different places, which I think is enough to remove the duplication. |
||
---|---|---|
.. | ||
auth-utils | ||
contextualized-logging | ||
direct-execution-context | ||
grpc-utils | ||
ports | ||
postgresql-testing | ||
resources | ||
resources-akka | ||
timer-utils |