Once we have decided that a stream has an implicit length then we should
treat the packet as full and not try to add any more stream related frames
to the packet.
Fixes #22658
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22662)
shdr->len = payload_len_explicit;
} else {
+ *packet_full = 1;
shdr->has_explicit_len = 0;
shdr->len = payload_len_implicit;
}