akamai / hface

Hackable HTTP/{1,2,3} {client,server,proxy}
https://hface.readthedocs.io
Apache License 2.0
30 stars 3 forks source link

Test HTTP/3 protocol at the Sans-IO layer #1

Open mila opened 1 year ago

mila commented 1 year ago

At the Sans-IO layer, we have tests for HTTP/1 and HTTP/2, but no test for HTTP/3.

mila commented 1 year ago

HTTP/3 tests are complicated because our HTTP/3 abstraction is designed as HTTP over UDP, hiding the QUIC layer in the middle. With H1 and H2 we can assert generated payload, but that's almost impossible for encrypted QUIC packets.

A reasonable approach may be to decode UDP bytes to QUIC events and check those.