[Development] QNetworkRequest: allow overriding connect host

Justin Karneges justin at affinix.com
Fri May 10 07:43:06 CEST 2013


On 05/09/2013 10:35 PM, Thiago Macieira wrote:
> 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.

I should have been more clear. I may not want 100 threads, but I also 
don't want queries being blocked by others. ;)

Justin



More information about the Development mailing list