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

Method is_url_pushed

include/proxy/http2/Http2CommonSession.h:238–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238inline bool
239Http2CommonSession::is_url_pushed(const char *url, int url_len)
240{
241 if (_h2_pushed_urls == nullptr) {
242 return false;
243 }
244
245 return _h2_pushed_urls->find(std::string{url, static_cast<size_t>(url_len)}) != _h2_pushed_urls->end();
246}
247
248inline int64_t
249Http2CommonSession::get_connection_id()

Callers 1

TSHttpTxnServerPushFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected