cstamas commented on PR #532: URL: https://github.com/apache/maven-resolver/pull/532#issuecomment-2226852534
This fix is wrong. Tested using reproducer https://issues.apache.org/jira/browse/MNG-8145 (reused same config and all). Maven 4.0.0-beta-3 fails (reproducer reproduces). And this PR built JDK transport works OK. BUT, the reason why it works is due this PR "shortening" the lifespan of JDK HttpClient, and not due "client swap". When I set nginx config from original `keepalive_requests 500;` to `keepalive_requests 100;` (or even 50), this PR fails in very same way. Still, the PR is correct in a way it keeps HttpClient per Transporter instance, and that is _correct change_. Will see in some other solution... -- 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]
