Index: webrtc/p2p/base/p2ptransportchannel.cc |
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc |
index f5f8a665aa51e90ee7d544c1257216378bbaf023..9f25cd2755e33ae3bb3a91e44fb6b82d2a1dd7a1 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel.cc |
+++ b/webrtc/p2p/base/p2ptransportchannel.cc |
@@ -648,7 +648,8 @@ void P2PTransportChannel::OnUnknownAddress( |
Connection* connection = |
port->CreateConnection(remote_candidate, PortInterface::ORIGIN_THIS_PORT); |
if (!connection) { |
- ASSERT(false); |
+ // This could happen in some scenarios. For example, a TurnPort may have |
+ // had a refresh request timeout, so it won't create connections. |
port->SendBindingErrorResponse(stun_msg, address, STUN_ERROR_SERVER_ERROR, |
STUN_ERROR_REASON_SERVER_ERROR); |
return; |