DescriptionOnly MarkTrailersConsumed when actually sending trailers notification
MarkTrailersConsumed is currently done before the
notification is posted asynchronously. However, there might
be a pending read before that notification is executed but
after MarkTrailersConsumed, which leads to delegate
mistakenly to assume that the trailers are consumed.
This CL changes so that we MarkTrailersConsumed when we
actually will immediately notify delegate.
This CL also patches some internal trailers changes in
quic_spdy_stream.cc and quic_spdy_client_stream.cc.
BUG=586207
Committed: https://crrev.com/188bd40f723812b8a718195fdc5af274c21891e4
Cr-Commit-Position: refs/heads/master@{#380799}
Patch Set 1 : #Patch Set 2 : Added a unit test #Patch Set 3 : Add internal changes and fix tests #
Messages
Total messages: 23 (14 generated)
|