CVS: cvs.openbsd.org: src
Claudio Jeker <[email protected]> Tue, 28 Jul 2026 12:58:22 -0600 (MDT)
| Newsgroups | gmane.os.openbsd.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/07/28 12:58:22 Modified files: usr.sbin/rpki-client: repo.c Log message: Rework error handling in rrdp_handle_file. Do not alter the repo state to REPO_FAILED on system errors in rrdp_handle_file. Instead use a new flag file_failed to mark the repository as failed. In rrdp_clear reset the flag after removing all files. In rrdp_finish double check the file_failed state and ensure that the repo enters REPO_FAILED state. The current code only worked if rrdp_clear was called which is only the case for delta handling. For snapshots triggering an error in rrdp_handle_file the code would directly call rrdp_finish but exit early there which stalls progress. Reported by Xin Wang OK tb@