| Index: webrtc/p2p/base/stunrequest.cc
|
| diff --git a/webrtc/p2p/base/stunrequest.cc b/webrtc/p2p/base/stunrequest.cc
|
| index 2a4f9c981cb569f574190ebdef8a191c083ec274..32449e209c6d63081f00a0207d2b85015155bb8b 100644
|
| --- a/webrtc/p2p/base/stunrequest.cc
|
| +++ b/webrtc/p2p/base/stunrequest.cc
|
| @@ -221,14 +221,15 @@ void StunRequest::OnMessage(rtc::Message* pmsg) {
|
|
|
| OnSent();
|
| manager_->thread_->PostDelayed(resend_delay(), this, MSG_STUN_SEND, NULL);
|
| - LOG(LS_INFO) << "Sent STUN request " << count_
|
| - << "; resend delay = " << resend_delay();
|
| }
|
|
|
| void StunRequest::OnSent() {
|
| count_ += 1;
|
| - if (count_ == MAX_SENDS)
|
| + if (count_ == MAX_SENDS) {
|
| timeout_ = true;
|
| + }
|
| + LOG(LS_VERBOSE) << "Sent STUN request " << count_
|
| + << "; resend delay = " << resend_delay();
|
| }
|
|
|
| int StunRequest::resend_delay() {
|
|
|