This commit is contained in:
Vedran Pavic 2025-10-07 07:07:01 -07:00 committed by GitHub
commit 91a0688db9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class JdkClientHttpRequest extends AbstractStreamingClientHttpRequest {
/**
* Temporary workaround to use instead of {@link HttpRequest.Builder#timeout(Duration)}
* until <a href="https://bugs.openjdk.org/browse/JDK-8258397">JDK-8258397</a>
* until <a href="https://bugs.openjdk.org/browse/JDK-8208693">JDK-8208693</a>
* is fixed. Essentially, create a future with a timeout handler, and use it
* to close the response.
* @see <a href="https://mail.openjdk.org/pipermail/net-dev/2021-October/016672.html">OpenJDK discussion thread</a>