44 while (it !=
queue_.end()) {
45 auto qSeqn = std::get<0>(*it);
49 }
else if (seqn < qSeqn) {
62 streamingCb =
nullptr;
66 VLOG(5) <<
"queued block=" << seqn <<
" len=" << length <<
67 " placeholder=" <<
int32_t(oooOk);
89 VLOG(5) <<
"decodeBlock for block=" << seqn <<
" len=" << length;
93 if (safety.destroyed()) {
106 auto length = std::get<2>(
next);
108 length, std::get<3>(
next),
121 std::deque<std::tuple<uint32_t, std::unique_ptr<folly::IOBuf>, size_t,
HPACKQueue(HPACKCodec &codec)
bool decodeBlock(int32_t seqn, std::unique_ptr< folly::IOBuf > block, size_t length, HPACK::StreamingCallback *cb, bool ooo)
void decodeStreaming(folly::io::Cursor &cursor, uint32_t length, HPACK::StreamingCallback *streamingCb) noexcept
uint64_t getQueuedBytes() const
constexpr detail::Map< Move > move
void enqueueHeaderBlock(uint32_t seqn, std::unique_ptr< folly::IOBuf > block, size_t length, HPACK::StreamingCallback *streamingCb, bool oooOk)
std::deque< std::tuple< uint32_t, std::unique_ptr< folly::IOBuf >, size_t, HPACK::StreamingCallback * > > queue_
uint64_t getHolBlockCount() const
virtual void onDecodeError(HPACK::DecodeError decodeError)=0