mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2025-12-31 21:58:51 +03:00
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:
5
mangle.c
5
mangle.c
@@ -733,8 +733,6 @@ struct tls_verdict analyze_tls_data(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
continue;
|
|
||||||
|
|
||||||
check_domain:
|
check_domain:
|
||||||
if (vrd.target_sni == 1 && config.exclude_domains_strlen != 0) {
|
if (vrd.target_sni == 1 && config.exclude_domains_strlen != 0) {
|
||||||
unsigned int j = 0;
|
unsigned int j = 0;
|
||||||
@@ -775,9 +773,6 @@ nextMessage:
|
|||||||
i += 5 + message_length;
|
i += 5 + message_length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
goto out;
|
|
||||||
out:
|
out:
|
||||||
return vrd;
|
return vrd;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user