kwin commented on code in PR #1978:
URL: https://github.com/apache/maven-resolver/pull/1978#discussion_r3608132630
##########
maven-resolver-transport-url/src/main/java/org/eclipse/aether/transport/url/UrlTransporterConfigurationKeys.java:
##########
@@ -69,4 +69,15 @@ private UrlTransporterConfigurationKeys() {}
public static final String CONFIG_PROP_REDIRECT_ALLOW_DOWNGRADE =
CONFIG_PROPS_PREFIX + "redirectAllowDowngrade";
public static final boolean DEFAULT_REDIRECT_ALLOW_DOWNGRADE = false;
+
+ /**
+ * Whether persistent connections should be used by this transport. This
configuration allows controlling only this transport,
+ * while the default value (that is JVM-wide) comes from {@code
http.keepAlive} Java system property, that is {@code true}
+ * by default.
+ *
+ * @configurationSource {@link
RepositorySystemSession#getConfigProperties()}
+ * @configurationType {@link java.lang.Boolean}
+ * @configurationRepoIdSuffix Yes
+ */
+ public static final String CONFIG_PROP_KEEP_ALIVE = CONFIG_PROPS_PREFIX +
"keepAlive";
Review Comment:
Not sure this option should be exposed. I don't really see a need for ever
setting this flag.
--
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]