Bug 28401

Summary: Add support for DNS prefetching with CFNetwork
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Page LoadingAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Enhancement    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
proposed patch ggaren: review+

Description Alexey Proskuryakov 2009-08-17 11:22:37 PDT
prefetchDNS() in DNSCFNet.cpp is not implemented.
Comment 1 Alexey Proskuryakov 2009-08-17 11:26:36 PDT
Created attachment 34981 [details]
proposed patch
Comment 2 Geoffrey Garen 2009-08-17 12:07:48 PDT
Comment on attachment 34981 [details]
proposed patch

r=me

>  54     host.releaseRef(); // The host will be released from callback.

I'd change this to "The host will be released in clientCallback".
Comment 3 Alexey Proskuryakov 2009-08-17 15:09:17 PDT
Committed revision 47391.

Made one post-review change: with a null callback info, CFHostStartInfoResolution() works synchronously, even if the client has been set.