DescriptionQuicChromiumClientStream should only do OnStream after notifying delegate about trailers
OnStream with a FIN flag indirectly calls delegate_->OnDataAvailable
to force delegate to read FIN through
QuicStreamSequencer::MaybeCloseStream.
However this is not desirable, since delegate will receive
OnDataAvailable callback before OnHeadersReceived (for trailers),
which can led to delegate missing the trailers received event.
Therefore, we should only force delegate to read FIN only after delegate
is notified of trailers.
BUG=586207
Patch Set 1 : #
Total comments: 2
Dependent Patchsets: Messages
Total messages: 12 (8 generated)
|