summaryrefslogtreecommitdiff
path: root/ext/net/ops.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-09-27 16:07:20 +0200
committerGitHub <noreply@github.com>2024-09-27 14:07:20 +0000
commit3134abefa462ead8bb8e2e4aa8a5b57910f3d430 (patch)
tree0f01cca8ca91ea6fb06347f17a77091259749c28 /ext/net/ops.rs
parent88a4f8dd97704b8905d05def949b137a75286b18 (diff)
BREAKING(ext/net): improved error code accuracy (#25383)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'ext/net/ops.rs')
-rw-r--r--ext/net/ops.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/net/ops.rs b/ext/net/ops.rs
index f2735eda9..5248493f4 100644
--- a/ext/net/ops.rs
+++ b/ext/net/ops.rs
@@ -69,7 +69,6 @@ impl From<SocketAddr> for IpAddr {
}
pub(crate) fn accept_err(e: std::io::Error) -> AnyError {
- // FIXME(bartlomieju): compatibility with current JS implementation
if let std::io::ErrorKind::Interrupted = e.kind() {
bad_resource("Listener has been closed")
} else {