Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index ac30a5276528aef6fce1a85253f0f489927efdb1..f1150eaa3a87214f3b19300373bfd4c8dfedb917 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -1910,6 +1910,13 @@ void SpdySession::OnStreamFrameData(SpdyStreamId stream_id, |
if (availability_state_ == STATE_CLOSED) |
return; |
+ if (data == NULL && len != 0) { |
+ // This is notification of consumed data padding. |
+ // TODO(jgraettinger): Properly flow padding into WINDOW_UPDATE frames. |
+ // See crbug.com/353012. |
+ return; |
+ } |
+ |
DCHECK_LT(len, 1u << 24); |
if (net_log().IsLogging()) { |
net_log().AddEvent( |