[GRADLE-2598] Multiple HttpClient instances initialised for a single http repository Created: 12/Dec/12  Updated: 04/Jan/13  Resolved: 16/Dec/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.2
Fix Version/s: 1.4-rc-1

Type: Bug
Reporter: Daz DeBoer Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

Due to https://github.com/gradle/gradle/commit/30ec7f089a262fa560724404720330d6f849dbb0, we are calling RepositoryTransport.getRepository() 4 times in MavenResolver and twice in IvyResolver. Each call instantiates and configures a new HttpClient instance: this was certainly unintentional, due to the poorly named getRepository() (should be createRepository()).

Raised in http://forums.gradle.org/gradle/topics/significant_resolution_slowdown_and_ntlm_credentials_null_1_in_debug_log_when_no_ntlm_should_be_involved


Generated at Wed Jun 30 12:26:16 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.