diff --git a/src/shrpx.cc b/src/shrpx.cc index e69505e9..55ffbb29 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -1211,7 +1211,8 @@ get_inherited_quic_lingering_worker_process_from_env() { auto hex_cid_prefix = StringRef{p, end}; if (hex_cid_prefix.size() != SHRPX_QUIC_CID_PREFIXLEN * 2 || !util::is_hex_string(hex_cid_prefix)) { - continue; + LOG(WARN) << "Found invalid CID prefix=" << hex_cid_prefix; + break; } if (LOG_ENABLED(INFO)) {