how to set pp::URLLoader to cache DNS forever

14 views
Skip to first unread message

Ping Zou

unread,
Jul 2, 2015, 9:38:53 AM7/2/15
to native-cli...@googlegroups.com

using Chrome's Native Client pp::URLLoader, is it possible to set the loader to cache the DNS forever, like curllib's CURLOPT_DNS_CACHE_TIMEOUT option (setting to -1 to cache the DNS record for ever.) http://curl.haxx.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html

Confirming 'No' is also very helpful!

Thank you

Sam Clegg

unread,
Jul 7, 2015, 2:56:06 PM7/7/15
to native-cli...@googlegroups.com
Hi Ping,

I'm pretty sure there is no way to control the DNS resolution process
with the URLoader API. IIUC, requests via URLLoader are treated just
like any other network request by the chrome networking stack.

cheers,
sam
> --
> You received this message because you are subscribed to the Google Groups
> "Native-Client-Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to native-client-di...@googlegroups.com.
> To post to this group, send email to native-cli...@googlegroups.com.
> Visit this group at http://groups.google.com/group/native-client-discuss.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages