diff --git a/webrtc/p2p/base/stunrequest.cc b/webrtc/p2p/base/stunrequest.cc index 2a4f9c981c..32449e209c 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() {