mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-05-28 18:06:32 +03:00
fix
This commit is contained in:
@@ -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()];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user