Skip to content

Commit a27d417

Browse files
committed
Don't try to set TCP_NODELAY on Unix socket
Signed-off-by: Marco Rebhan <me@dblsaiko.net>
1 parent 02bae49 commit a27d417

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/listener/src/unix_or_tcp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ impl UnixOrTcpListener {
152152

153153
let socket = socket2::SockRef::from(&stream);
154154
socket.set_keepalive(true)?;
155-
socket.set_nodelay(true)?;
156155

157156
Ok((remote_addr.into(), UnixOrTcpConnection::Unix { stream }))
158157
}

0 commit comments

Comments
 (0)