bgp / stayrtr

RPKI-To-Router server implementation in Go
BSD 3-Clause "New" or "Revised" License
85 stars 13 forks source link

Store hash before decoding, do not parse broken file twice #118

Closed ties closed 4 months ago

ties commented 4 months ago

Tiny tweak. My previous interpretation (but have not tested it) is that a SLURM or JSON file that fails to parse will be parsed every time.

Trivial change. Prevents a series of "updating from x to y" when y is in fact not parseable.

ties commented 4 months ago

Tested locally. Inconclusive results because -checktime is broken and I have static test files.