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