mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-22 13:26:12 +03:00
fix
This commit is contained in:
parent
a3a475eefb
commit
e8094ced17
@ -160,6 +160,8 @@ std::optional<PaddingType> NaiveProxyDelegate::GetProxyChainPaddingType(
|
|||||||
// protocols.
|
// protocols.
|
||||||
if (proxy_chain.is_direct())
|
if (proxy_chain.is_direct())
|
||||||
return PaddingType::kNone;
|
return PaddingType::kNone;
|
||||||
|
if (proxy_chain.Last().is_socks())
|
||||||
|
return PaddingType::kNone;
|
||||||
return padding_type_by_server_[proxy_chain.Last()];
|
return padding_type_by_server_[proxy_chain.Last()];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user