MCPcopy Create free account
hub / github.com/OISF/libhtp / SetUp

Method SetUp

test/test_multipart.cpp:174–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 }
173
174 virtual void SetUp() {
175 cfg = htp_config_create();
176 htp_config_set_server_personality(cfg, HTP_SERVER_APACHE_2);
177 htp_config_register_multipart_parser(cfg);
178
179 connp = NULL;
180 mpartp = NULL;
181 body = NULL;
182 tx = NULL;
183 }
184
185 virtual void TearDown() {
186 if (connp != NULL) {

Callers

nothing calls this directly

Tested by

no test coverage detected