File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -297,11 +297,6 @@ THE SOFTWARE.
297
297
<artifactId >localizer</artifactId >
298
298
<version >1.31</version >
299
299
</dependency >
300
- <dependency >
301
- <groupId >org.jvnet.robust-http-client</groupId >
302
- <artifactId >robust-http-client</artifactId >
303
- <version >1.2</version >
304
- </dependency >
305
300
<dependency >
306
301
<groupId >org.jvnet.winp</groupId >
307
302
<artifactId >winp</artifactId >
Original file line number Diff line number Diff line change @@ -333,10 +333,6 @@ THE SOFTWARE.
333
333
<groupId >org.jvnet.localizer</groupId >
334
334
<artifactId >localizer</artifactId >
335
335
</dependency >
336
- <dependency >
337
- <groupId >org.jvnet.robust-http-client</groupId >
338
- <artifactId >robust-http-client</artifactId >
339
- </dependency >
340
336
<dependency >
341
337
<groupId >org.jvnet.winp</groupId >
342
338
<artifactId >winp</artifactId >
Original file line number Diff line number Diff line change 70
70
import jenkins .util .JenkinsJVM ;
71
71
import jenkins .util .SystemProperties ;
72
72
import org .jenkinsci .Symbol ;
73
- import org .jvnet .robust_http_client .RetryableHttpStream ;
74
73
import org .kohsuke .accmod .Restricted ;
75
74
import org .kohsuke .accmod .restrictions .NoExternalUse ;
76
75
import org .kohsuke .stapler .DataBoundConstructor ;
@@ -346,10 +345,10 @@ public static URLConnection open(URL url) throws IOException {
346
345
public static InputStream getInputStream (URL url ) throws IOException {
347
346
final ProxyConfiguration p = get ();
348
347
if (p == null )
349
- return new RetryableHttpStream ( url );
348
+ return (( HttpURLConnection ) url . openConnection ()). getInputStream ( );
350
349
351
350
Proxy proxy = p .createProxy (url .getHost ());
352
- InputStream is = new RetryableHttpStream ( url , proxy );
351
+ InputStream is = (( HttpURLConnection ) url . openConnection ( proxy )). getInputStream ( );
353
352
if (p .getUserName () != null ) {
354
353
// Add an authenticator which provides the credentials for proxy authentication
355
354
Authenticator .setDefault (p .authenticator );
You can’t perform that action at this time.
0 commit comments