| 132 | } |
| 133 | |
| 134 | void OnSend() { |
| 135 | if (TNetLibaOptions::AckTailEffect.GetValue() && TLastAckTimes::Common().Get(IdAddr_) + TNetLibaOptions::AckTailEffect.GetValue() > TInstant::Now().GetValue()) { |
| 136 | //fake(predicted) completing detection |
| 137 | SetSendComplete(); |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | void OnRequestAck() { |
| 142 | if (TNetLibaOptions::AckTailEffect.GetValue()) { |