20260817 同步层HTTP User-Agent改为env可配置RPKI_HTTP_USER_AGENT,默认panda-rpki/0.2

This commit is contained in:
2026-08-17 11:39:22 +08:00
parent e98eb6d68f
commit 49172b57d3
4 changed files with 127 additions and 3 deletions

View File

@@ -102,6 +102,10 @@ ENABLE_CHILD_CERTIFICATE_VALIDATION_CACHE=0
# 实验性 transport 预热:RPKI_EXTRA_ARGS="--enable-transport-request-prefetch --enable-roa-validation-cache"
RPKI_EXTRA_ARGS=""
# 所有出站 HTTP 请求(RRDP / TAL / TA / 死 repo 探针)的 User-Agent。
# 不设置、为空或含非法 header 字符时回退默认 panda-rpki/0.2。
#RPKI_HTTP_USER_AGENT=panda-rpki/0.2
# 是否为每轮输出 timing profile 到 runs/run_xxxx/analyze/timing.json。
# 性能 profile 或打点验证时设置为 1;普通 soak 建议保持 0,避免额外开销。
RPKI_ANALYZE=0