mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 22:19:03 +00:00
Update JdkClientHttpRequest javadoc
This commit updates `JdkClientHttpRequest.TimeoutHandler` javadoc to reference up-to-date JDK issue that tracks improvements to HTTP client's request timeout handling. Closes gh-35581 Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
This commit is contained in:
committed by
Brian Clozel
parent
2f66c07b0d
commit
c5ec169c83
@@ -267,7 +267,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>
|
||||
|
||||
Reference in New Issue
Block a user