Commit 0566a583 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix infinite loop

parent c50459b8
......@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment