MCPcopy Create free account
hub / github.com/apache/trafficserver / is_source

Method is_source

include/proxy/http/HttpTunnel.h:731–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731inline bool
732HttpTunnelProducer::is_source() const
733{
734 // If a producer is marked as a client, then it's part of a bidirectional tunnel
735 // and so is an actual source of data.
736 return HT_HTTP_SERVER == vc_type || HT_CACHE_READ == vc_type || HT_HTTP_CLIENT == vc_type;
737}
738
739inline void
740HttpTunnelProducer::update_state_if_not_set(int new_handler_state)

Callers 1

consumer_reenableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected