mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-07-29 03:41:11 +03:00
Codec writing/reading of stream group ids
Summary: Add writing and reading of stream group ids Reviewed By: mjoras Differential Revision: D36415929 fbshipit-source-id: 650bb8d6f81b2014741a517b165b4d27b7b6c0fe
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3445442000
commit
4faaa83642
@ -358,7 +358,8 @@ bool StreamFrameScheduler::writeStreamLossBuffers(
|
||||
bufferLen, // writeBufferLen -- only the len of the single buffer.
|
||||
bufferLen, // flowControlLen -- not relevant, already flow controlled.
|
||||
buffer->eof,
|
||||
folly::none /* skipLenHint */);
|
||||
folly::none /* skipLenHint */,
|
||||
stream.groupId);
|
||||
if (dataLen) {
|
||||
wroteStreamFrame = true;
|
||||
writeStreamFrameData(builder, buffer->data, *dataLen);
|
||||
@ -531,7 +532,8 @@ bool StreamFrameScheduler::writeStreamFrame(
|
||||
bufferLen,
|
||||
flowControlLen,
|
||||
canWriteFin,
|
||||
folly::none /* skipLenHint */);
|
||||
folly::none /* skipLenHint */,
|
||||
stream.groupId);
|
||||
if (!dataLen) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user