This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
dora-rs
/
dora
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
124
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Flush TCP connection after sending message
tags/v0.2.0-candidate
Philipp Oppermann
2 years ago
parent
a35850cb07
commit
0aebe9c3c4
Failed to extract signature
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
apis/rust/node/src/daemon/tcp.rs
+ 1
- 0
apis/rust/node/src/daemon/tcp.rs
View File
@@ -42,6 +42,7 @@ fn tcp_send(connection: &mut (impl Write + Unpin), message: &[u8]) -> std::io::R
let len_raw = (message.len() as u64).to_le_bytes();
connection.write_all(&len_raw)?;
connection.write_all(message)?;
connection.flush()?;
Ok(())
}
Write
Preview
Loading…
Cancel
Save