JDK-8324209 : Check implementation of Expect: 100-continue in the java.net.http.HttpClient
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-01-19
  • Updated: 2024-08-26
  • Resolved: 2024-08-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b12Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8338403 :  
Description
https://datatracker.ietf.org/doc/html/rfc7231#section-5.1.1

says that the client should not wait indefinitely before sending the body data if it doesn't receive any response from the server.

This is mostly to interoperate correctly with HTTP/1.0 intermediaries. Should we set up a timeout for 100 and proceed with sending the body if no response comes from the server regardless of the HTTP version of the request?
Comments
Changeset: 01d03e07 Branch: master Author: Darragh Clarke <dclarke@openjdk.org> Date: 2024-08-20 11:10:18 +0000 URL: https://git.openjdk.org/jdk/commit/01d03e07c7642e148e4e17848d28686858ea37a7
20-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20525 Date: 2024-08-09 13:46:30 +0000
09-08-2024