On Tue, 14 Oct 2025 09:35:51 GMT, Jaikiran Pai <[email protected]> wrote:

> Can I please get a review of this change which proposes to fix the 
> implementation in HttpClient to correctly handle the H3_REQUEST_REJECTED 
> error code?
> 
> As noted in https://bugs.openjdk.org/browse/JDK-8369812, the current 
> implementation in the HttpClient treats this like an error and causes the 
> HTTP request to fail. The proposed change in this PR addresses this by 
> marking a request which was reset due to H3_REQUEST_REJECTED as unprocessed. 
> This then allows the `MultiExchange` to reissue the request afresh. This new 
> behaviour matches the expectation specified for this error code in the HTTP/3 
> RFC.
> 
> A new jtreg test has been introduced to reproduce the issue and verify the 
> fix.

This pull request has now been integrated.

Changeset: 42b2999c
Author:    Jaikiran Pai <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/42b2999c31d63d0f8326c83e95eff83f5a467926
Stats:     223 lines in 2 files changed: 216 ins; 2 del; 5 mod

8369812: HttpClient doesn't handle H3_REQUEST_REJECTED correctly

Reviewed-by: dfuchs, djelinski

-------------

PR: https://git.openjdk.org/jdk/pull/27793

Reply via email to