openssl: QUIC SERVER: Testing the http3 demo server with chrome produces unexpected errors
When testing my http3 (based on the demo/http3) when testing with chrome after 29512 requests I am getting the error: 4FC58266D7F0000:error:0A08010C:SSL routines:ossl_quic_reset:unsupported:ssl/quic/quic_impl.c:798
I have tracked it to:
https://github.com/openssl/openssl/blob/feature/quic-server/ssl/quic/quic_record_tx.c#L666
According to my traces:
qtx_write payload_len: 1196 needs_encrypt 1180 qtx_write pred_hdr_len: 5 payload_len: 1196 qtx_write FAILED 4 1201 1200 pred_hdr_len: 5 payload_len: 1196 qtx_write FAILED in qtx_mutate_write
The error seems to occurs after PN is 29511 we have 1201 bytes to write and only space for 1200 😦
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 34 (34 by maintainers)
Commits related to this issue
- Code to reproduce https://github.com/openssl/openssl/issues/25417 — committed to jfclere/openssl by jfclere 2 years ago
- txp_generate_stream_frames(): Set stream id in header early enough Otherwise we will calculate an incorrect header size for higher stream ids and won't fit the frame into the packet. Fixes #25417 — committed to t8m/openssl by t8m 2 years ago
- txp_generate_stream_frames(): Set stream id in header early enough Otherwise we will calculate an incorrect header size for higher stream ids and won't fit the frame into the packet. Fixes #25417 R... — committed to openssl/openssl by t8m 2 years ago
- txp_generate_stream_frames(): Set stream id in header early enough Otherwise we will calculate an incorrect header size for higher stream ids and won't fit the frame into the packet. Fixes #25417 R... — committed to openssl/openssl by t8m 2 years ago
- txp_generate_stream_frames(): Set stream id in header early enough Otherwise we will calculate an incorrect header size for higher stream ids and won't fit the frame into the packet. Fixes #25417 R... — committed to openssl/openssl by t8m 2 years ago
- txp_generate_stream_frames(): Set stream id in header early enough Otherwise we will calculate an incorrect header size for higher stream ids and won't fit the frame into the packet. Fixes #25417 R... — committed to maximmasiutin/openssl by t8m 2 years ago
The streamId will not be uninitialized, but initialized to 0.
@nhorman Good catch! Perhaps the following patch should help?