Leo Blöcher

Results 3 issues of Leo Blöcher

Foundations lazily initializes its memory profiling infrastructure on the first request to the telemetry server. This happens here: https://github.com/cloudflare/foundations/blob/9a6f4cde41e1a458e24906d2f1288a802b0ab97c/foundations/src/telemetry/server.rs#L172-L180 `MemoryProfiler::get_or_init_with` initializes the singleton `PROFILER` with `memory_profiler::init_profiler`. Inside the latter function,...

Due to tokio-quiche's stateless address validation via RETRY packets, we rely on the client to reflect our chosen SCID back to us. We should make sure that we actually generated...

This impl allows using `LazyLock` like an `FnValue`. The notable difference is that `LazyLock` memoizes the function's result, whereas `FnValue` generates a fresh result every time. This is relevant when...