Reset CrawlURI status for hasPrerequisite() so that it isn't preserved between attempts

This commit is contained in:
Adam Miller
2024-08-07 10:30:35 -07:00
parent b22d6ce2e1
commit ec164ec77f
@@ -813,6 +813,7 @@ implements Reporter, Serializable, OverlayContext, Comparable<CrawlURI> {
this.httpRecorder = null;
this.fetchStatus = S_UNATTEMPTED;
this.setPrerequisite(false);
this.clearPrerequisiteUri();
this.contentSize = UNCALCULATED;
this.contentLength = UNCALCULATED;
// Clear 'links extracted' flag.