Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1589)

Unified Diff: webrtc/p2p/base/stunrequest.cc

Issue 2015773002: Changing STUN request log message to "verbose". (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698