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

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

Issue 1493863002: Add logs when stun or turn host lookup is completed. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years 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 | webrtc/p2p/base/turnport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/stunport.cc
diff --git a/webrtc/p2p/base/stunport.cc b/webrtc/p2p/base/stunport.cc
index 13ecca4a3a1cb90b2640e45ebee708d47cc2bf37..7b9ffca169dc1f6176c8eef9a52f333e380a350b 100644
--- a/webrtc/p2p/base/stunport.cc
+++ b/webrtc/p2p/base/stunport.cc
@@ -372,12 +372,11 @@ void UDPPort::ResolveStunAddress(const rtc::SocketAddress& stun_addr) {
void UDPPort::OnResolveResult(const rtc::SocketAddress& input,
int error) {
ASSERT(resolver_.get() != NULL);
+ LOG_J(LS_INFO, this) << "STUN host lookup result " << error;
pthatcher1 2015/12/02 19:56:32 I think that what we really want is a log just *be
honghaiz3 2015/12/02 23:45:30 Done.
rtc::SocketAddress resolved;
if (error != 0 ||
!resolver_->GetResolvedAddress(input, ip().family(), &resolved)) {
- LOG_J(LS_WARNING, this) << "StunPort: stun host lookup received error "
- << error;
OnStunBindingOrResolveRequestFailed(input);
return;
}
« no previous file with comments | « no previous file | webrtc/p2p/base/turnport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698