This was fixed in January. Now RRDP issues an RRDP_CLEAR to the parent
which in turns removes all files from the .rrdp cache dir.
--
:wq Claudio
Index: rrdp.c
===================================================================
RCS file: /cvs/src/usr.sbin/rpki-client/rrdp.c,v
retrieving revision 1.22
diff -u -p -r1.22 rrdp.c
--- rrdp.c 10 Feb 2022 11:11:22 -0000 1.22
+++ rrdp.c 4 Apr 2022 13:16:56 -0000
@@ -256,7 +256,6 @@ rrdp_failed(struct rrdp *s)
/* reset file state before retrying */
s->file_failed = 0;
- /* XXX MUST do some cleanup in the repo here */
if (s->task == DELTA) {
/* fallback to a snapshot as per RFC8182 */
free_delta_xml(s->dxml);