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

Function main

src/proxy/http2/test_HPACK.cc:390–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390int
391main(int argc, const char **argv)
392{
393 auto &version = AppVersionInfo::setup_version("test_HPACK");
394 process_args(&version, argument_descriptions, countof(argument_descriptions), argv);
395
396 ink_freelist_init_ops(cmd_disable_freelist, cmd_disable_pfreelist);
397
398 if (*cmd_input_dir) {
399 input_dir = cmd_input_dir;
400 if (input_dir.back() != '/') {
401 input_dir += '/';
402 }
403 }
404 if (*cmd_output_dir) {
405 output_dir = cmd_output_dir;
406 if (output_dir.back() != '/') {
407 output_dir += '/';
408 }
409 }
410
411 Thread *main_thread = new EThread;
412 main_thread->set_specific();
413 url_init();
414 mime_init();
415 http_init();
416 hpack_huffman_init();
417
418 prepare();
419 int status = RegressionTest::main(argc, argv, REGRESSION_TEST_QUICK);
420
421 hpack_huffman_fin();
422 return status;
423}

Callers

nothing calls this directly

Calls 10

process_argsFunction · 0.85
ink_freelist_init_opsFunction · 0.85
url_initFunction · 0.85
mime_initFunction · 0.85
http_initFunction · 0.85
hpack_huffman_initFunction · 0.85
prepareFunction · 0.85
hpack_huffman_finFunction · 0.85
countofFunction · 0.50
set_specificMethod · 0.45

Tested by

no test coverage detected