8243246: HTTP Client sometimes gets java.io.IOException -> Invalid chunk header byte 32

Chris Hegarty chris.hegarty at oracle.com
Thu Apr 23 18:36:12 UTC 2020



> On 23 Apr 2020, at 15:39, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
> Hi,
> 
> Please find below a fix for:
> 
> 8243246: HTTP Client sometimes gets java.io.IOException -> Invalid
>         chunk header byte 32
> https://bugs.openjdk.java.net/browse/JDK-8243246
> 
> webrev:
> http://cr.openjdk.java.net/~dfuchs/webrev_8243246/webrev.00/

Looks good. 

Wow, that’s a test and then some ;-)

How do you feel about adding a byte-at-a-time final scenario?

static final List<String> REQ5_RESPONSE_BODY = List.of(
        "B", " ", "\r", "\n",
        "L", "o", "r", "e", "m", " ", "i", "p", "s", "u", "m", "\r" ,"\n",
        "0", ";", " ", "\r", "\n",
        "\r", "\n”);

-Chris.




More information about the net-dev mailing list