robur-coop / happy-eyeballs

An implementation of happy eyeballs (RFC 8305) in OCaml with lwt
ISC License
22 stars 4 forks source link

Explain better `` `Suspend`` and `` `Act`` in `Happy_eyeballs.timer` #24

Closed reynir closed 1 year ago

reynir commented 1 year ago

The documentation says when `Suspend is returned the timer task should sleep. This is misleading because that applies to `Act as well.

First reported by @bikallem in https://github.com/mirage/ocaml-dns/issues/326.