void generateAndStoreRequestId(const TunnelingConfigHelper& config, Http::RequestHeaderMap& headers,
Tcp::ConnectionPool::ConnectionData* TcpUpstream::onDownstreamEvent(Network::ConnectionEvent event,
// TODO(botengyao): propagate RST back to upstream connection if RST is received from downstream.
// will fully close the upstream connection without flushing any pending data, rather than a http
HttpUpstream::onDownstreamEvent(Network::ConnectionEvent event, absl::string_view /*details*/) {
generic_conn_pool_ = createConnPool(host, thread_local_cluster, context, upstream_protocol);
conn_pool_data_ = thread_local_cluster.httpConnPool(host, Upstream::ResourcePriority::Default,
upstream_ = std::make_unique<HttpUpstream>(upstream_callbacks_, config_, downstream_info_, type_);
callbacks_->onGenericPoolReady(nullptr, std::move(combined_upstream_), host, address_provider,
callbacks_->onGenericPoolReady(nullptr, std::move(upstream_), host, address_provider, ssl_info);
CombinedUpstream::onDownstreamEvent(Network::ConnectionEvent event, absl::string_view /*details*/) {
void CombinedUpstream::onResetEncoder(Network::ConnectionEvent event, bool inform_downstream) {
Http::RequestHeaderMap* CombinedUpstream::downstreamHeaders() { return downstream_headers_.get(); }