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

Method event_handler

src/proxy/http3/Http3HeaderVIOAdaptor.cc:84–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84int
85Http3HeaderVIOAdaptor::event_handler(int event, Event * /* data ATS_UNUSED */)
86{
87 switch (event) {
88 case QPACK_EVENT_DECODE_COMPLETE:
89 Dbg(dbg_ctl_v_http3, "%s (%d)", "QPACK_EVENT_DECODE_COMPLETE", event);
90 if (this->_on_qpack_decode_complete()) {
91 // If READ_READY event is scheduled, should it be canceled?
92 }
93 break;
94 case QPACK_EVENT_DECODE_FAILED:
95 Dbg(dbg_ctl_v_http3, "%s (%d)", "QPACK_EVENT_DECODE_FAILED", event);
96 // FIXME: handle error
97 break;
98 }
99
100 return EVENT_DONE;
101}
102
103int
104Http3HeaderVIOAdaptor::_on_qpack_decode_complete()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected