Skip to content

Commit

Permalink
8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTe…
Browse files Browse the repository at this point in the history
…st.java fails intermittently in timeout

Backport-of: fbaaac63d4ae8d7cc0ec02ab4b5a934824d1fec1
  • Loading branch information
antbob authored and jerboaa committed Feb 27, 2024
1 parent d2d988a commit 1bb3ed3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -419,7 +419,6 @@ private HttpURLConnection createConnection() throws Exception {

HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setDoOutput(true);
connection.setConnectTimeout(1000);
connection.setReadTimeout(5000);
connection.setUseCaches(false);
connection.setInstanceFollowRedirects(false);
Expand Down

0 comments on commit 1bb3ed3

Please sign in to comment.