- Add test for cachedb serve expired.

This commit is contained in:
W.C.A. Wijngaards
2024-04-10 12:36:21 +02:00
parent cccf5e73c0
commit b990be88ef
7 changed files with 310 additions and 4 deletions
+7
View File
@@ -348,6 +348,13 @@ replay_moment_read(char* remain, FILE* in, const char* name,
mom->string = strdup(m);
if(!mom->string) fatal_exit("out of memory");
if(!mom->variable) fatal_exit("out of memory");
} else if(parse_keyword(&remain, "FLUSH_MESSAGE")) {
mom->evt_type = repevt_flush_message;
while(isspace((unsigned char)*remain))
remain++;
strip_end_white(remain);
mom->string = strdup(remain);
if(!mom->string) fatal_exit("out of memory");
} else {
log_err("%d: unknown event type %s", pstate->lineno, remain);
free(mom);