Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1977)

Unified Diff: net/spdy/spdy_session.cc

Issue 6292013: Add chunked uploads support to SPDY (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698