vacp2p / nim-quic

QUIC for Nim
40 stars 3 forks source link

Handle errors in timeouts #25

Closed markspanbroek closed 3 years ago

markspanbroek commented 3 years ago

Latest version of Chronos disallows errors to escape from timeout callbacks. Any Errors that are raised in the connection timeout callback should not happen and are therefore are converted to Defects.

Uses upraises for exception tracking across Nim 1.2 and 1.4. Fixes Ngtcp2 error hierarchy to match that of Nim; we now have an Ngtcp2Error and Ngtcp2Defect.

markspanbroek commented 3 years ago

Windows build is was failing because of https://github.com/iffy/install-nim/issues/11