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

Method handle_frame

src/proxy/http3/Http3StreamDataVIOAdaptor.cc:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Http3ErrorUPtr
41Http3StreamDataVIOAdaptor::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
53void
54Http3StreamDataVIOAdaptor::finalize()

Callers

nothing calls this directly

Calls 4

typeMethod · 0.45
getMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected