Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klzgrad committed Jul 21, 2024
1 parent a3a475e commit e8094ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/net/tools/naive/naive_proxy_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()];
}

Expand Down

0 comments on commit e8094ce

Please sign in to comment.