[Development] QNetworkRequest: allow overriding connect host

Thiago Macieira thiago.macieira at intel.com
Fri May 10 05:57:37 CEST 2013


On quinta-feira, 9 de maio de 2013 19.36.45, Justin Karneges wrote:
> > QHostInfo has a short-lived cache, so it should work.
> 
> Mmmm, if QHostInfo's cache behaves like any other DNS cache then I don't
> see this making a difference. Unless every cache hit causes the cache
> time to extend, there's always a chance for expiration between two resolves.

It doesn't work like a DNS cache. It has a minimum cache time of 60 seconds. 
In other words, it might disobey the TTL.

> Also, I'm not using QHostInfo, but rather my own resolver JDNS, because
> I want the resolutions to be event-driven.

What do you mean by that?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130509/8e9451e3/attachment.sig>


More information about the Development mailing list