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

Method reset

src/proxy/http/HttpBodyFactory.cc:1080–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1078}
1079
1080void
1081HttpBodyTemplate::reset()
1082{
1083 ats_free(template_buffer);
1084 template_buffer = nullptr;
1085 byte_count = 0;
1086 ats_free(template_pathname);
1087}
1088
1089int
1090HttpBodyTemplate::load_from_file(char *dir, char *file)

Callers 5

~HttpBodyFactoryMethod · 0.45
nuke_template_tablesMethod · 0.45
~HttpBodySetMethod · 0.45
initMethod · 0.45

Calls 1

ats_freeFunction · 0.85

Tested by

no test coverage detected