File tree 3 files changed +2
-12
lines changed
3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -287,11 +287,6 @@ THE SOFTWARE.
287
287
<artifactId >localizer</artifactId >
288
288
<version >1.31</version >
289
289
</dependency >
290
- <dependency >
291
- <groupId >org.jvnet.robust-http-client</groupId >
292
- <artifactId >robust-http-client</artifactId >
293
- <version >1.2</version >
294
- </dependency >
295
290
<dependency >
296
291
<groupId >org.jvnet.winp</groupId >
297
292
<artifactId >winp</artifactId >
Original file line number Diff line number Diff line change @@ -325,10 +325,6 @@ THE SOFTWARE.
325
325
<groupId >org.jvnet.localizer</groupId >
326
326
<artifactId >localizer</artifactId >
327
327
</dependency >
328
- <dependency >
329
- <groupId >org.jvnet.robust-http-client</groupId >
330
- <artifactId >robust-http-client</artifactId >
331
- </dependency >
332
328
<dependency >
333
329
<groupId >org.jvnet.winp</groupId >
334
330
<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