We want to control DNS lookups ourselves, so that they
can be logged, directed to alternate nameservers if
necessary, and perhaps cached according to our needs
rather than the JRE defaults.
As a result, we only ever attempt an HTTP fetch if we
already have valid hostname/ip info. However,
HTTPClient does not use our info, but rather repeats
the lookup itself using default Java facilities.
We would prefer to supply it with an IP address we
already know to be associated with the given URI's
hostname, and have it use that IP rather than attempt a
redundant lookup.
If we can figure out a clean way to add this as an
option to HTTPClient, we should implement it and donate
the patch to the HTTPClient project.
Michael Stack
None
None
Public
|
Date: 2007-03-14 01:26
|
|
Date: 2004-10-09 01:32 Logged In: YES |
|
Date: 2004-10-09 01:32 Logged In: YES |
|
Date: 2004-10-09 01:29 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2004-10-09 01:29 | stack-sf |
| assigned_to | nobody | 2004-10-09 01:29 | stack-sf |
| close_date | - | 2004-10-09 01:29 | stack-sf |
| priority | 5 | 2004-09-01 21:59 | stack-sf |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use