mirage / ocaml-dns

OCaml implementation of the DNS protocol
BSD 2-Clause "Simplified" License
106 stars 43 forks source link

client / stub error behaviour #323

Open hannesm opened 2 years ago

hannesm commented 2 years ago

at the moment, if the TCP session breaks, all outstanding requests will be re-requested. This may not be the wisest thing to do -- instead we could rely on clients (in stub) requesting the same thing another time anyways -- and simplify and make the experience more smooth (remove load on the resolver, and not fire tons of questions when the TCP connection is finally established).

//cc @reynir (and the above was experienced in mirleft IIRC)