Skip to content

Commit

Permalink
Add class comment
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Avlasov <[email protected]>
  • Loading branch information
yanavlasov committed Aug 1, 2024
1 parent 137bdf5 commit 6e00e02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/common/tcp_proxy/upstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class TcpConnPool : public GenericConnPool, public Tcp::ConnectionPool::Callback
class HttpUpstream;
class CombinedUpstream;

// This class is specific to TCP proxy connection pool and enables TCP proxying mode
// for HTTP upstreams. This is currently only needed for HTTP/1 client codec that half closes
// upstream network connection after encoding end_stream in TCP proxy (i.e. via CONNECT).
class RouterUpstreamRequest : public Router::UpstreamRequest {
public:
using Router::UpstreamRequest::UpstreamRequest;
Expand Down

0 comments on commit 6e00e02

Please sign in to comment.