mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
38213f1142
When listening on a UNIX socket path, Deno currently tries to unlink this path prior to actually listening. The implementation of this behaviour is VERY racy, involves 2 additional syscalls, and does not match the behaviour of any other runtime (Node.js, Go, Rust, etc). This commit removes this behaviour. If a user wants to listen on an existing socket, they must now unlink the file themselves prior to listening. This change in behaviour only impacts --unstable APIs, so it is not a breaking change. |
||
---|---|---|
.. | ||
integration | ||
testdata | ||
unit | ||
integration_tests.rs |