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
Darragh Clarke authored and tstuefe committed Feb 19, 2024
1 parent ab431cf commit 0aabd55
Showing 1 changed file with 1 addition and 2 deletions.
@@ -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 @@ -431,7 +431,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

1 comment on commit 0aabd55

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.