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

Method Http3App

src/proxy/http3/Http3App.cc:54–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52} // end anonymous namespace
53
54Http3App::Http3App(NetVConnection *client_vc, QUICConnection *qc, IpAllow::ACL &&session_acl,
55 const HttpSessionAccept::Options &options)
56 : QUICApplication(qc)
57{
58 this->_ssn = new Http3Session(client_vc);
59 this->_ssn->acl = std::move(session_acl);
60 this->_ssn->accept_options = &options;
61 this->_ssn->new_connection(client_vc, nullptr, nullptr);
62
63 this->_qc->stream_manager()->set_default_application(this);
64
65 this->_control_stream_dispatcher.add_handler(this->_ssn->get_received_frame_counter());
66
67 this->_protocol_enforcer = new Http3ProtocolEnforcer();
68 this->_control_stream_dispatcher.add_handler(this->_protocol_enforcer);
69
70 this->_settings_handler = new Http3SettingsHandler(this->_ssn);
71 this->_control_stream_dispatcher.add_handler(this->_settings_handler);
72
73 this->_settings_framer = new Http3SettingsFramer(client_vc->get_context());
74 this->_control_stream_collector.add_generator(this->_settings_framer);
75
76 SET_HANDLER(&Http3App::main_event_handler);
77}
78
79Http3App::~Http3App()
80{

Callers

nothing calls this directly

Calls 7

add_generatorMethod · 0.80
new_connectionMethod · 0.45
stream_managerMethod · 0.45
add_handlerMethod · 0.45
get_contextMethod · 0.45

Tested by

no test coverage detected