Looks like Afrinic disabled RRDP, and they're returning 204 instead of
4xx or 5xx.
This was fooling Fort into thinking the file downloaded successfully,
which induced a crappier error message.
But regardless of Afrinic, an empty file is not a valid RPKI file,
so 204 (No Content) should probably be handled as an error anyway.
}
}
- if (http_code >= 400) {
+ if (http_code >= 400 || http_code == 204) {
pr_val_err("HTTP result code: %ld", http_code);
error = handle_http_response_code(http_code);
goto end;