projects
/
swift-upb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe774d0
)
Fast fix for the RTT calculation bug
author
Victor Grishchenko
<victor.grishchenko@gmail.com>
Wed, 10 Feb 2010 14:12:47 +0000
(15:12 +0100)
committer
Victor Grishchenko
<victor.grishchenko@gmail.com>
Wed, 10 Feb 2010 14:12:47 +0000
(15:12 +0100)
Need to recover the ACKTS message back; splitting into TS+ACK
was a weird idea.
sendrecv.cpp
patch
|
blob
|
history
diff --git
a/sendrecv.cpp
b/sendrecv.cpp
index
a0a1968
..
6a56bce
100644
(file)
--- a/
sendrecv.cpp
+++ b/
sendrecv.cpp
@@
-407,6
+407,7
@@
void Channel::CleanDataOut (bin64_t ackd_pos) { // TODO: isn't it too long?
data_out_cap_ = bin64_t::ALL;
}
}
+ peer_send_time_ = 0;
}
tint timeout = NOW - rtt_avg_ - 4*std::max(dev_avg_,TINT_MSEC*50);
while (!data_out_.empty() && data_out_.front().time<timeout) {