Chromium Code Reviews| Index: net/spdy/spdy_stream.cc |
| =================================================================== |
| --- net/spdy/spdy_stream.cc (revision 121841) |
| +++ net/spdy/spdy_stream.cc (working copy) |
| @@ -192,6 +192,10 @@ |
| // By the time a read is isued, stream may become inactive. |
| if (!session_->IsStreamActive(stream_id_)) |
| return; |
| + |
| + if (!session_->is_flow_control_enabled()) |
| + return; |
| + |
| int new_window_size = recv_window_size_ + delta_window_size; |
| if (recv_window_size_ > 0) |
| DCHECK(new_window_size > 0); |