| 38 | } |
| 39 | |
| 40 | Http3ErrorUPtr |
| 41 | Http3StreamDataVIOAdaptor::handle_frame(std::shared_ptr<const Http3Frame> frame, Http3StreamType /* s_type */) |
| 42 | { |
| 43 | ink_assert(frame->type() == Http3FrameType::DATA); |
| 44 | const Http3DataFrame *dframe = dynamic_cast<const Http3DataFrame *>(frame.get()); |
| 45 | |
| 46 | // Need to wait for headers to be written |
| 47 | int64_t written = this->_buffer->write(dframe->data()); |
| 48 | this->_total_data_length += written; |
| 49 | |
| 50 | return Http3ErrorUPtr(nullptr); |
| 51 | } |
| 52 | |
| 53 | void |
| 54 | Http3StreamDataVIOAdaptor::finalize() |