| 5848 | } |
| 5849 | |
| 5850 | VConnection * |
| 5851 | HttpSM::do_transform_open() |
| 5852 | { |
| 5853 | ink_assert(transform_info.vc == nullptr); |
| 5854 | APIHook *hooks; |
| 5855 | |
| 5856 | if (is_action_tag_set("http_nullt")) { |
| 5857 | txn_hook_add(TS_HTTP_RESPONSE_TRANSFORM_HOOK, transformProcessor.null_transform(mutex.get())); |
| 5858 | } |
| 5859 | |
| 5860 | hooks = api_hooks.get(TS_HTTP_RESPONSE_TRANSFORM_HOOK); |
| 5861 | if (hooks) { |
| 5862 | transform_info.vc = transformProcessor.open(this, hooks); |
| 5863 | |
| 5864 | // Record the transform VC in our table |
| 5865 | transform_info.entry = vc_table.new_entry(); |
| 5866 | transform_info.entry->vc = transform_info.vc; |
| 5867 | transform_info.entry->vc_type = HTTP_TRANSFORM_VC; |
| 5868 | } else { |
| 5869 | transform_info.vc = nullptr; |
| 5870 | } |
| 5871 | |
| 5872 | return transform_info.vc; |
| 5873 | } |
| 5874 | |
| 5875 | void |
| 5876 | HttpSM::mark_host_failure(ResolveInfo *info, ts_time time_down) |
no test coverage detected