Index: webrtc/p2p/base/turnport.h |
diff --git a/webrtc/p2p/base/turnport.h b/webrtc/p2p/base/turnport.h |
index 4be9249c8fb6fbb802db91f06f5f11f1ccf29c65..1bd44e1c1d2bbbd631f0e385a69aedaa652d0d7e 100644 |
--- a/webrtc/p2p/base/turnport.h |
+++ b/webrtc/p2p/base/turnport.h |
@@ -178,7 +178,8 @@ class TurnPort : public Port { |
enum { |
MSG_ALLOCATE_ERROR = MSG_FIRST_AVAILABLE, |
MSG_ALLOCATE_MISMATCH, |
- MSG_TRY_ALTERNATE_SERVER |
+ MSG_TRY_ALTERNATE_SERVER, |
+ MSG_REFRESH_ERROR |
}; |
typedef std::list<TurnEntry*> EntryList; |
@@ -199,7 +200,7 @@ class TurnPort : public Port { |
// Shuts down the turn port, usually because of some fatal errors. |
void Close(); |
- void OnTurnRefreshError() { Close(); } |
+ void OnTurnRefreshError(); |
bool SetAlternateServer(const rtc::SocketAddress& address); |
void ResolveTurnAddress(const rtc::SocketAddress& address); |
void OnResolveResult(rtc::AsyncResolverInterface* resolver); |