connection: enable tcp nodealy
This commit is contained in:
1 parent
eb18873960
commit
0e831dbe00
1 file changed
+3
@@ -111,6 +111,9 @@ fn main() -> io::Result<()> {
|
||||
return Err(e);
|
||||
}
|
||||
};
|
||||
if let Err(e) = connection.set_nodelay(true) {
|
||||
log::warn!("failed to set TCP_NODELAY {e}");
|
||||
}
|
||||
|
||||
log::info!("Accepted connection from: {}", address);
|
||||
|
||||
|
||||
Reference in new issue
Block a user