Fix #104 Infinity loop with default parameters

Fixes infinity loop with default parameters for youtubeUnblock when
trying to connect not handled website. The commit is also related to
issue #100 where the support for --exclude-domains flag was added
This commit is contained in:
Vadim Vetrov 2024-09-07 09:24:35 +03:00
parent 7d01d0974d
commit 31aa309198
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5

View File

@ -733,8 +733,6 @@ struct tls_verdict analyze_tls_data(
}
}
continue;
check_domain:
if (vrd.target_sni == 1 && config.exclude_domains_strlen != 0) {
unsigned int j = 0;
@ -775,9 +773,6 @@ nextMessage:
i += 5 + message_length;
}
goto out;
out:
return vrd;