| 561 | } |
| 562 | |
| 563 | Http3HeadersFrameUPtr |
| 564 | Http3FrameFactory::create_headers_frame(const uint8_t *header_block, size_t header_block_len) |
| 565 | { |
| 566 | ats_unique_buf buf = ats_unique_malloc(header_block_len); |
| 567 | memcpy(buf.get(), header_block, header_block_len); |
| 568 | |
| 569 | Http3HeadersFrame *frame = http3HeadersFrameAllocator.alloc(); |
| 570 | new (frame) Http3HeadersFrame(std::move(buf), header_block_len); |
| 571 | return Http3HeadersFrameUPtr(frame, &Http3FrameDeleter::delete_headers_frame); |
| 572 | } |
| 573 | |
| 574 | Http3HeadersFrameUPtr |
| 575 | Http3FrameFactory::create_headers_frame(IOBufferReader *header_block_reader, size_t header_block_len) |
nothing calls this directly
no test coverage detected