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

Chris Hegarty chris.hegarty at oracle.com
Fri Apr 24 15:27:16 UTC 2020


> On 24 Apr 2020, at 16:14, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
> Hi Chris,
> 
> On 23/04/2020 19:36, Chris Hegarty wrote:
>> 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”);
> 
> Good idea!
> 
> I also added a delay for that case in the hope it will make it more
> likely the byte-at-a-time delivery is preserved on the
> client side.
> 
> http://cr.openjdk.java.net/~dfuchs/webrev_8243246/webrev.01/

You have my Review.

-Chris.



More information about the net-dev mailing list