-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DNSServiceRef can outlive its socket connection to mDNS, causing bloc…
…ked threads in Networking rdar://112721318 https://bugs.webkit.org/show_bug.cgi?id=259636 Reviewed by Youenn Fablet. Be sure to tear down the DNSServiceRef and remove it from our set when error conditions occur. * Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h: (WebKit::NetworkConnectionToWebProcess::mdnsRegister): * Source/WebKit/NetworkProcess/webrtc/NetworkMDNSRegister.cpp: (WebKit::PendingRegistrationRequest::PendingRegistrationRequest): (WebKit::NetworkMDNSRegister::closeAndForgetService): (WebKit::registerMDNSNameCallback): (WebKit::NetworkMDNSRegister::registerMDNSName): * Source/WebKit/NetworkProcess/webrtc/NetworkMDNSRegister.h: Canonical link: https://commits.webkit.org/266420@main
- Loading branch information
Showing
3 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters