34 std::unique_ptr<folly::IOBuf> block,
94 std::unique_ptr<folly::IOBuf> block,
102 std::unique_ptr<folly::IOBuf>
b,
104 :
streamID(sid), baseIndex(bi), length(l), consumed(cons),
111 std::unique_ptr<folly::IOBuf>
block;
126 std::multimap<uint32_t, PendingBlock>
queue_;
const uint32_t kTableSize
std::unique_ptr< folly::IOBuf > encodeTableStateSync()
HPACK::DecodeError decodeEncoderStream(std::unique_ptr< folly::IOBuf > buf)
uint32_t decodeLiteralHeaderQ(HPACKDecodeBuffer &dbuf, bool indexing, bool nameIndexed, uint8_t prefixLength, bool aboveBase, HPACK::StreamingCallback *streamingCb)
std::vector< HPACKHeader > headers_t
void enqueueHeaderBlock(uint64_t streamId, uint32_t largestReference, uint32_t baseIndex, uint32_t consumed, std::unique_ptr< folly::IOBuf > block, size_t length, HPACK::StreamingCallback *streamingCb)
folly::IOBufQueue ingress_
std::multimap< uint32_t, PendingBlock > queue_
constexpr detail::Map< Move > move
uint32_t decodeHeaderQ(HPACKDecodeBuffer &dbuf, HPACK::StreamingCallback *streamingCb)
void decodeEncoderStreamInstruction(HPACKDecodeBuffer &dbuf)
uint32_t decodeIndexedHeaderQ(HPACKDecodeBuffer &dbuf, uint32_t prefixLength, bool aboveBase, HPACK::StreamingCallback *streamingCb, headers_t *emitted)
uint64_t getHolBlockCount() const
static Options cacheChainLength()
void decodeStreaming(uint64_t streamId, std::unique_ptr< folly::IOBuf > block, uint32_t totalBytes, HPACK::StreamingCallback *streamingCb)
bool decodeBlock(uint32_t largestReference, const PendingBlock &pending)
bool isValid(bool isStatic, uint32_t index, bool aboveBase)
uint64_t getQueuedBytes() const
void setMaxBlocking(uint32_t maxBlocking)
std::unique_ptr< folly::IOBuf > block
PendingBlock(uint64_t sid, uint32_t bi, uint32_t l, uint32_t cons, std::unique_ptr< folly::IOBuf > b, HPACK::StreamingCallback *c)
void decodeStreamingImpl(uint32_t largestReference, uint32_t consumed, HPACKDecodeBuffer &dbuf, HPACK::StreamingCallback *streamingCb)
std::unique_ptr< folly::IOBuf > encodeHeaderAck(uint64_t streamId) const
uint32_t handleBaseIndex(HPACKDecodeBuffer &dbuf)
QPACKDecoder(uint32_t tableSize=HPACK::kTableSize, uint32_t maxUncompressed=HeaderCodec::kMaxUncompressed)
HPACK::StreamingCallback * cb
std::unique_ptr< folly::IOBuf > encodeCancelStream(uint64_t streamId)
const uint32_t kDefaultBlocking