[Development] QNetworkRequest: allow overriding connect host

Thiago Macieira thiago.macieira at intel.com
Fri May 10 07:59:11 CEST 2013


On quinta-feira, 9 de maio de 2013 22.43.06, Justin Karneges wrote:
> > Good. Then you can use QHostInfo, since it will use only 5 threads.
> 
> I should have been more clear. I may not want 100 threads, but I also 
> don't want queries being blocked by others.

Our experience is that DNS servers on home routers are quite poor. Flood them 
with queries and they will crash or send corrupted data or drop packets. There 
was a famous case of the German Fritzbox in KDE. 

That's why we do no more than 5 queries at a time. You may want to consider 
the same.

Also, please note that hostname resolution is more than DNS. I really urge you 
to use *only* the services provided by the OS, nothing else.

-- 
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/9009b40d/attachment.sig>


More information about the Development mailing list