summaryrefslogtreecommitdiff
path: root/runtime/js/01_errors.js
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2022-10-24 00:45:45 +0200
committerGitHub <noreply@github.com>2022-10-24 00:45:45 +0200
commit38213f1142200e9184d1c5ae1e25ff781248362a (patch)
treedf73b82893501016251d4e0f845a2dfab6b500f4 /runtime/js/01_errors.js
parent0e1167d12d116be7ba1855252b5ca4d668bf3472 (diff)
fix(ext/net): don't remove sockets on unix listen (#16394)
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.
Diffstat (limited to 'runtime/js/01_errors.js')
0 files changed, 0 insertions, 0 deletions