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

Method do_post_transform_open

src/proxy/http/HttpSM.cc:5830–5848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5828}
5829
5830VConnection *
5831HttpSM::do_post_transform_open()
5832{
5833 ink_assert(post_transform_info.vc == nullptr);
5834
5835 if (is_action_tag_set("http_post_nullt")) {
5836 txn_hook_add(TS_HTTP_REQUEST_TRANSFORM_HOOK, transformProcessor.null_transform(mutex.get()));
5837 }
5838
5839 post_transform_info.vc = transformProcessor.open(this, api_hooks.get(TS_HTTP_REQUEST_TRANSFORM_HOOK));
5840 if (post_transform_info.vc) {
5841 // Record the transform VC in our table
5842 post_transform_info.entry = vc_table.new_entry();
5843 post_transform_info.entry->vc = post_transform_info.vc;
5844 post_transform_info.entry->vc_type = HTTP_TRANSFORM_VC;
5845 }
5846
5847 return post_transform_info.vc;
5848}
5849
5850VConnection *
5851HttpSM::do_transform_open()

Callers 1

setup_blind_tunnelMethod · 0.95

Calls 4

null_transformMethod · 0.80
new_entryMethod · 0.80
getMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected