| 82 | } |
| 83 | |
| 84 | int |
| 85 | Http3HeaderVIOAdaptor::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 | |
| 103 | int |
| 104 | Http3HeaderVIOAdaptor::_on_qpack_decode_complete() |
nothing calls this directly
no test coverage detected