mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-27 08:05:46 +00:00
Set an appropriate Content Size when using non-DNS resolves.
This commit is contained in:
@@ -184,6 +184,7 @@ public class FetchDNS extends Processor {
|
||||
if (address != null) {
|
||||
targetHost.setIP(address, DEFAULT_TTL_FOR_NON_DNS_RESOLVES);
|
||||
curi.setFetchStatus(S_GETBYNAME_SUCCESS);
|
||||
curi.setContentSize(0);
|
||||
if (logger.isLoggable(Level.FINE)) {
|
||||
logger.fine("Found address for " + dnsName +
|
||||
" using native dns.");
|
||||
|
||||
Reference in New Issue
Block a user