projects
/
swift-upb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
precaution
[swift-upb.git]
/
send_control.cpp
diff --git
a/send_control.cpp
b/send_control.cpp
index
a1d1154
..
005b70c
100644
(file)
--- a/
send_control.cpp
+++ b/
send_control.cpp
@@
-23,6
+23,7
@@
const char* Channel::SEND_CONTROL_MODES[] = {"keepalive", "pingpong",
tint Channel::NextSendTime () {
+ TimeoutDataOut(); // precaution to know free cwnd
switch (send_control_) {
case KEEP_ALIVE_CONTROL: return KeepAliveNextSendTime();
case PING_PONG_CONTROL: return PingPongNextSendTime();