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

Unified Diff: net/http/http_stream_parser.cc

Issue 284913003: Remove DCHECK in HttpStreamParser::ReadResponseHeaders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_stream_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_parser.cc
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc
index 820c1ba008adec361627178b6e26e4f3c63a27d2..90271f7e9bf41c87094077b95cb1d17c4e0afddc 100644
--- a/net/http/http_stream_parser.cc
+++ b/net/http/http_stream_parser.cc
@@ -344,8 +344,6 @@ int HttpStreamParser::ReadResponseBody(IOBuffer* buf, int buf_len,
if (io_state_ == STATE_DONE)
return OK;
-
- // Must have response headers with a non-1xx error code.
DCHECK_NE(1, response_->headers->response_code() / 100);
willchan no longer on Chromium 2014/05/15 08:49:02 I'm confused, don't you need to delete this DCHECK
mmenke 2014/05/15 12:20:07 Erm...oops. Added it back for local testing of th
user_read_buf_ = buf;
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_stream_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698