mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-23 22:27:17 -04:00
Added support for remote DNS query over socks5h proxy. #2839
This commit is contained in:
parent
fe7b224916
commit
bdbe946be2
2 changed files with 6 additions and 2 deletions
|
@ -225,7 +225,7 @@ validators = [
|
|||
|
||||
# proxy section
|
||||
Validator('proxy.type', must_exist=True, default=None, is_type_of=(NoneType, str),
|
||||
is_in=[None, 'socks5', 'http']),
|
||||
is_in=[None, 'socks5', 'socks5h', 'http']),
|
||||
Validator('proxy.url', must_exist=True, default='', is_type_of=str),
|
||||
Validator('proxy.port', must_exist=True, default='', is_type_of=(str, int)),
|
||||
Validator('proxy.username', must_exist=True, default='', is_type_of=str, cast=str),
|
||||
|
|
|
@ -13,9 +13,13 @@ export const securityOptions: SelectorOption<string>[] = [
|
|||
|
||||
export const proxyOptions: SelectorOption<string>[] = [
|
||||
{
|
||||
label: "Socks5",
|
||||
label: "Socks5 (local DNS)",
|
||||
value: "socks5",
|
||||
},
|
||||
{
|
||||
label: "Socks5h (remote DNS)",
|
||||
value: "socks5h",
|
||||
},
|
||||
{
|
||||
label: "HTTP(S)",
|
||||
value: "http",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue