Fix #40 (finally)

This commit is contained in:
Vadim Vetrov 2024-08-08 16:18:50 +03:00
parent 15619afcdf
commit d42ecb2b82
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5
2 changed files with 2 additions and 3 deletions

View File

@ -70,4 +70,4 @@ extern struct config_t config;
// Larger packets will be fragmented. Applicable for Chrome's kyber. // Larger packets will be fragmented. Applicable for Chrome's kyber.
#define AVAILABLE_MTU 1384 #define AVAILABLE_MTU 1384
static const char defaul_snistr[] = "googlevideo.com,youtube.com,ggpht.com,ytimg.com"; static const char defaul_snistr[] = "googlevideo.com,ggpht.com,ytimg.com,l.google.com,youtube.com,play.google.com";

View File

@ -838,8 +838,7 @@ int main(int argc, const char *argv[]) {
}; };
qres = init_queue_wrapper(&tconf); qres = init_queue_wrapper(&tconf);
} } else {
else {
printf("%d threads wil be used\n", config.threads); printf("%d threads wil be used\n", config.threads);
struct queue_conf thread_confs[MAX_THREADS]; struct queue_conf thread_confs[MAX_THREADS];