On Tue, 15 Mar 2022 11:26:55 GMT, Conor Cleary <ccle...@openjdk.org> wrote:

>> Good idea yes, to check that the repeat continuation still behaves as 
>> expected. Should hopefully be straight forward to create another test case.
>
> On this issue, there is a case where a faulty server might send an indefinite 
> number of Continuations (maybe the server never sets an END_HEADERS flag). 
> Should a safe guard for the Push Promise with Continuation/s case be put in 
> place to prevent the faulty scenario?

It would be impossible to detect, but if the server is faulty and "forget" to 
set the END_HEADERS flag, then we will detect that because the next frame we 
receive won't be the ContinuationFrame we expect.

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

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

Reply via email to