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

Reviewed-by: dfuchs, djelinski
  • Loading branch information
Darragh Clarke committed Jan 23, 2024
1 parent 791b427 commit fbaaac6
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 fbaaac6

@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.