Skip to content

Commit c5ec169

Browse files
vpavicbclozel
authored andcommitted
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>
1 parent 2f66c07 commit c5ec169

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
@@ -267,7 +267,7 @@ public ByteBuffer map(byte[] b, int off, int len) {
267267

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

0 commit comments

Comments
 (0)