Skip to content

Commit 727feba

Browse files
committed
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. Signed-off-by: Vedran Pavic <[email protected]>
1 parent ff9a349 commit 727feba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public ByteBuffer map(byte[] b, int off, int len) {
254254

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

0 commit comments

Comments
 (0)