On Fri, 2007-06-08 at 16:18 +0800, Feng Jiang wrote:
> Hi all,
> 
> when i use httpclient to fetch a lot of urls, i have already had the ip of
> host for each url. I don't want the httpclient to query dns for its ip,
> because it will cost a lot of time. So can I explicitly set IP for each url?
> 
> 

Yes, you can. Just use IP address in the request url (or by using a
custom HostConfiguration) and set "http.virtual-host" request parameter
to the desired DSN name.

Hope this helps

Oleg

> Thanks a lot,
> 
> Feng


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to