Browse Source

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>
pull/35684/head
Vedran Pavic 2 months ago committed by Brian Clozel
parent
commit
c5ec169c83
  1. 2
      spring-web/src/main/java/org/springframework/http/client/JdkClientHttpRequest.java

2
spring-web/src/main/java/org/springframework/http/client/JdkClientHttpRequest.java

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

Loading…
Cancel
Save