[Development] QNetworkRequest: allow overriding connect host

Thiago Macieira thiago.macieira at intel.com
Fri May 10 07:35:56 CEST 2013


On quinta-feira, 9 de maio de 2013 22.09.06, Justin Karneges wrote:
> By that I meant I want the underlying implementation to be event-driven, 
> not simply the interface (QHostInfo is thread-backed). This is for a 
> server application that needs to make outbound HTTP requests in bulk as 
> fast as possible. If it needs to fire off 100 requests at some instant 
> to 100 different domains, then I want to do this without needing 100 
> threads.

Good. Then you can use QHostInfo, since it will use only 5 threads.

-- 
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/52f40437/attachment.sig>


More information about the Development mailing list