Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions proxy/http3/Http3HeaderFramer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ Http3HeaderFramer::Http3HeaderFramer(Http3Transaction *transaction, VIO *source,
http_parser_init(&this->_http_parser);
}

Http3HeaderFramer::~Http3HeaderFramer()
{
_header.destroy();
if (_header_block != nullptr) {
free_MIOBuffer(_header_block);
}
}

Http3FrameUPtr
Http3HeaderFramer::generate_frame()
{
Expand Down
1 change: 1 addition & 0 deletions proxy/http3/Http3HeaderFramer.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Http3HeaderFramer : public Http3FrameGenerator
{
public:
Http3HeaderFramer(Http3Transaction *transaction, VIO *source, QPACK *qpack, uint64_t stream_id);
~Http3HeaderFramer();

// Http3FrameGenerator
Http3FrameUPtr generate_frame() override;
Expand Down
1 change: 1 addition & 0 deletions proxy/http3/Http3Session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ void
HQSession::remove_transaction(HQTransaction *trans)
{
this->_transaction_list.remove(trans);
delete trans;

return;
}
Expand Down