Skip to main content

Module delayer

Module delayer 

Source

Structs§

DelayConfig

Constants§

DEFAULT_MAX_DELAY_MS
Default cap for header-derived delays (1 hour). A header value larger than this is clamped down to it before the cast to u64. The H12 vulnerability was: a header CamelDelayMs: 1e20 cast to u64 saturates to u64::MAX, then Duration::from_millis(u64::MAX) + Instant overflows and panics.