Skip to content

Commit

Permalink
Fix restlet child component context warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ato committed Aug 6, 2019
1 parent 6c2afc3 commit 97b9c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/src/main/java/org/archive/crawler/Heritrix.java
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public void instanceMain(String[] args)
MapVerifier verifier = new MapVerifier();
verifier.getLocalSecrets().put(authLogin, authPassword.toCharArray());

ChallengeAuthenticator guard = new RateLimitGuard(component.getContext(),
ChallengeAuthenticator guard = new RateLimitGuard(component.getContext().createChildContext(),
ChallengeScheme.HTTP_DIGEST, "Authentication Required");
guard.setVerifier(verifier);
guard.setNext(new EngineApplication(engine));
Expand Down

0 comments on commit 97b9c3c

Please sign in to comment.