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

Issue 40161: Don't read message-body for HEAD responses. (Closed)

Created:
11 years, 9 months ago by eroman
Modified:
9 years, 6 months ago
Reviewers:
wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Don't read message-body for HEAD responses. BUG=3828 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=11055

Patch Set 1 #

Total comments: 6

Patch Set 2 : address wtc's comments: rename |content_length_| to |message_body_length_| #

Patch Set 3 : Add header file as it is part of the refactor #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -25 lines) Patch
M net/http/http_network_transaction.h View 3 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 8 chunks +40 lines, -23 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 1 chunk +64 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
eroman
Based on the timestamp of the bug, I expect this repros for winhttp stack as ...
11 years, 9 months ago (2009-03-05 11:57:19 UTC) #1
wtc
LGTM! Thanks for fixing this. http://codereview.chromium.org/40161/diff/1/2 File net/http/http_network_transaction.cc (right): http://codereview.chromium.org/40161/diff/1/2#newcode1026 Line 1026: // For certain ...
11 years, 9 months ago (2009-03-05 18:12:54 UTC) #2
eroman
http://codereview.chromium.org/40161/diff/1/2 File net/http/http_network_transaction.cc (right): http://codereview.chromium.org/40161/diff/1/2#newcode1026 Line 1026: // For certain responses, we know the content ...
11 years, 9 months ago (2009-03-05 22:37:28 UTC) #3
wtc
On 2009/03/05 22:37:28, eroman wrote: > > Renamed |content_length_| to |message_body_length_|. > > Should I ...
11 years, 9 months ago (2009-03-05 22:53:06 UTC) #4
eroman
> Yes. On second thought, let's name these members > response_body_length_ and response_body_read_, because > ...
11 years, 9 months ago (2009-03-05 23:10:31 UTC) #5
wtc
11 years, 9 months ago (2009-03-05 23:27:39 UTC) #6
LGTM.

Powered by Google App Engine
This is Rietveld 408576698