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

Method SetUp

test/test_utils.cpp:1282–1288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1280protected:
1281
1282 virtual void SetUp() {
1283 cfg = htp_config_create();
1284 connp = htp_connp_create(cfg);
1285 htp_connp_open(connp, "127.0.0.1", 32768, "127.0.0.1", 80, NULL);
1286 tx = htp_connp_tx_create(connp);
1287 urlenp = htp_urlenp_create(tx);
1288 }
1289
1290 virtual void TearDown() {
1291 htp_urlenp_destroy(urlenp);

Callers

nothing calls this directly

Calls 5

htp_config_createFunction · 0.85
htp_connp_createFunction · 0.85
htp_connp_openFunction · 0.85
htp_connp_tx_createFunction · 0.85
htp_urlenp_createFunction · 0.85

Tested by

no test coverage detected