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

Unified Diff: net/http/http_network_transaction.h

Issue 40161: Don't read message-body for HEAD responses. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « no previous file | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.h
===================================================================
--- net/http/http_network_transaction.h (revision 10978)
+++ net/http/http_network_transaction.h (working copy)
@@ -263,10 +263,10 @@
// Indicates the content length remaining to read. If this value is less
// than zero (and chunked_decoder_ is null), then we read until the server
// closes the connection.
- int64 content_length_;
+ int64 response_body_length_;
// Keeps track of the number of response body bytes read so far.
- int64 content_read_;
+ int64 response_body_read_;
scoped_ptr<HttpChunkedDecoder> chunked_decoder_;
« no previous file with comments | « no previous file | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698