Changeset 286539 in webkit
- Timestamp:
- Dec 6, 2021 12:05:45 AM (8 months ago)
- Location:
- trunk/Source/ThirdParty/libwebrtc
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Source/webrtc/p2p/client/basic_port_allocator.cc (modified) (1 diff)
-
Source/webrtc/p2p/client/basic_port_allocator.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/libwebrtc/ChangeLog
r286110 r286539 1 2021-12-06 Youenn Fablet <youenn@apple.com> 2 3 Close WebRTC allocation sequence shared socket in case of sequence network failure 4 https://bugs.webkit.org/show_bug.cgi?id=233808 5 6 Reviewed by Geoffrey Garen. 7 8 * Source/webrtc/p2p/client/basic_port_allocator.cc: 9 * Source/webrtc/p2p/client/basic_port_allocator.h: 10 1 11 2021-11-22 Youenn Fablet <youenn@apple.com> 2 12 -
trunk/Source/ThirdParty/libwebrtc/Source/webrtc/p2p/client/basic_port_allocator.cc
r285577 r286539 1273 1273 } 1274 1274 1275 #if defined(WEBRTC_WEBKIT_BUILD) 1276 void AllocationSequence::set_network_failed() 1277 { 1278 network_failed_ = true; 1279 if (udp_socket_) { 1280 udp_socket_->SetError(ENETDOWN); 1281 udp_socket_->Close(); 1282 } 1283 } 1284 #endif 1285 1275 1286 void AllocationSequence::OnNetworkFailed() { 1276 1287 RTC_DCHECK(!network_failed_); 1277 network_failed_ = true; 1288 #if defined(WEBRTC_WEBKIT_BUILD) 1289 set_network_failed(); 1290 #endif 1278 1291 // Stop the allocation sequence if its network failed. 1279 1292 Stop(); -
trunk/Source/ThirdParty/libwebrtc/Source/webrtc/p2p/client/basic_port_allocator.h
r285577 r286539 356 356 357 357 bool network_failed() const { return network_failed_; } 358 #if defined(WEBRTC_WEBKIT_BUILD) 359 void set_network_failed(); 360 #else 358 361 void set_network_failed() { network_failed_ = true; } 362 #endif 359 363 360 364 // Disables the phases for a new sequence that this one already covers for an
Note: See TracChangeset
for help on using the changeset viewer.