cloudflare/boringtun

Keeping timers relative to start of tunnel initiation is confusing

Open

#309 创建于 2022年8月24日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Rust (4,849 star) (321 fork)batch import
code qualitygood first issue

描述

Keeping timers this way means that for example update_session_timers takes a time_now param that's a Duration instead of an Instant. All entries in Tunn::timers are Durations when many of them are "the time that something happened" and idiomatically I think these would be better expressed as Instants.

贡献者指南

Keeping timers relative to start of tunnel initiation is confusing · cloudflare/boringtun#309 | Good First Issue