slawekjaranowski commented on code in PR #1790:
URL: https://github.com/apache/maven-resolver/pull/1790#discussion_r2789996377


##########
maven-resolver-transport-http/src/main/java/org/eclipse/aether/transport/http/HttpTransporter.java:
##########
@@ -358,6 +363,18 @@ final class HttpTransporter extends AbstractTransporter {
             
builder.setConnectionReuseStrategy(NoConnectionReuseStrategy.INSTANCE);
         }
 
+        if (session.getCache() != null) {
+            String authCacheKey = getClass().getSimpleName() + "-" + 
repository.getId() + "-"
+                    + StringDigestUtil.sha1(repository.toString());

Review Comment:
   Do we need such complicated key - className, repo id and ssh1?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to