Support HTTP/3 style of Server push.
Server push stream now has stream type of 0x01 encoded as variable length integer. It will be sent along with the first stream write. And the peer will open the incoming stream once the stream type byte is received.
Pending stream is enabled in this CL.
gfe-relnote: version 99 only. Not in production.
PiperOrigin-RevId: 249914001
Change-Id: I291d1cc98ce44f930722608f82f9829da033c213
diff --git a/quic/core/quic_stream.h b/quic/core/quic_stream.h
index df1f7f8..80ee4e4 100644
--- a/quic/core/quic_stream.h
+++ b/quic/core/quic_stream.h
@@ -76,6 +76,8 @@
const QuicStreamSequencer* sequencer() const { return &sequencer_; }
+ void MarkConsumed(size_t num_bytes);
+
private:
friend class QuicStream;