git: openjdk/jdk: 8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer

Daniel Fuchs dfuchs at openjdk.org
Tue May 16 09:14:27 UTC 2023


Changeset: 72294c54
Author:    Daniel Fuchs <dfuchs at openjdk.org>
Date:      2023-05-16 09:13:17 +0000
URL:       https://git.openjdk.org/jdk/commit/72294c5402dd11e3eb4922ad26e1b153098495ff

8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer

Reviewed-by: djelinski, michaelm

! src/java.net.http/share/classes/jdk/internal/net/http/Http1Request.java
! test/jdk/java/net/httpclient/AbstractNoBody.java
! test/jdk/java/net/httpclient/NoBodyPartOne.java
+ test/jdk/java/net/httpclient/NoBodyPartThree.java
! test/jdk/java/net/httpclient/NoBodyPartTwo.java



More information about the jdk-changes mailing list