more set_nodelay
This commit is contained in:
parent
bf578e768b
commit
98aa410683
1 changed files with 1 additions and 0 deletions
|
|
@ -482,6 +482,7 @@ async fn direct_server(server: ServerPtr) -> ResultType<()> {
|
|||
if Config::get_option("direct-server").is_empty() {
|
||||
continue;
|
||||
}
|
||||
stream.set_nodelay(true).ok();
|
||||
log::info!("direct access from {}", addr);
|
||||
let local_addr = stream.local_addr()?;
|
||||
let server = server.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue