-
Notifications
You must be signed in to change notification settings - Fork 29
add read timeout #10
base: main
Are you sure you want to change the base?
add read timeout #10
Conversation
f74be47
to
ed0c44a
Compare
ed0c44a
to
fb6abcd
Compare
fb6abcd
to
ef04260
Compare
PR updated/rebased |
ef04260
to
83bffa7
Compare
83bffa7
to
66454c9
Compare
This reverts commit 7e44f93.
This commit adds a `set_read_timeout` function similar to Rust's `set_read_timeout`[1]. The differences compared to upstream are: - Operation always succeed. - It takes an u64 instead Duration. [1] https://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_read_timeout
66454c9
to
9261520
Compare
PR updated. It's a lot more stable now. |
On our usage of rust-utp, a stress test to study rust-utp was used and the failure rate was around 50%. With the new |
Version change to 0.7.0
We're still executing tests to find more problems within rust-utp and we found a few: All of them touches different parts of the code and show problems that are unrelated to this PR. I'd appreciate any input on this, as it's becoming a burden to maintain separate sets of patchsets. Merging just this one PR would already make things a tad easier, as it'd allow me to maintain the same set of changes to our code and to the upstream |
9b080c4
to
f507b7b
Compare
This commit adds a
set_read_timeout
function similar to Rust'sset_read_timeout
[1]. The differences compared to upstream are:[1] https://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_read_timeout