Chromium Code Reviews| Index: net/spdy/spdy_session.cc |
| diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
| index cbc1365485bad1ab25c05a448169077b587ccb5a..46f8777962303409b0b6f46de7b8acf5d4d4b7cd 100644 |
| --- a/net/spdy/spdy_session.cc |
| +++ b/net/spdy/spdy_session.cc |
| @@ -632,7 +632,7 @@ void SpdySession::OnWriteComplete(int result) { |
| // size. |
| if (result > 0) { |
| result = in_flight_write_.buffer()->size(); |
| - DCHECK_GT(result, static_cast<int>(spdy::SpdyFrame::size())); |
| + DCHECK_GE(result, static_cast<int>(spdy::SpdyFrame::size())); |
|
willchan no longer on Chromium
2011/02/01 23:35:59
Why is it a DCHECK_GE now?
Satish
2011/02/22 14:25:44
Per the SPDY spec the last chunk is indicated with
|
| result -= static_cast<int>(spdy::SpdyFrame::size()); |
| } |