On Fri, 30 Apr 2021 10:46:33 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

> Hi,
> 
> I stumbled on an issue in Stream.java where an assert was misplaced, 
> preventing the proper IOException to be triggered. I believe this is what 
> caused the FlowAdapterPublisherTest.java  to fail with the "Invalid Preface" 
> error on the server side.
> In any case - I haven't observed this error again after tweaking the assert.
> 
> I have also updated the server side to print better diagnostic in case the 
> Invalid Preface strikes again in the future...

This pull request has now been integrated.

Changeset: 0544a732
Author:    Daniel Fuchs <dfu...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/0544a732a44309bf7cbb44846dd9320c6096de17
Stats:     11 lines in 2 files changed: 6 ins; 1 del; 4 mod

8255227: java/net/httpclient/FlowAdapterPublisherTest.java intermittently 
failing with TestServer: start exception: java.io.IOException: Invalid preface

Reviewed-by: chegar

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

PR: https://git.openjdk.java.net/jdk/pull/3813

Reply via email to