diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-01 04:34:13 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-01 04:34:13 +0000 |
commit | 74bdf9a049376428c7d7bf7e58ba081de890481b (patch) | |
tree | bd583c445e7f68103a5030f1c0d961b776fcc4e2 /net/http/http_response_headers.h | |
parent | aee236542a8a66aa8d402fe891a0a7919a039963 (diff) | |
download | chromium_src-74bdf9a049376428c7d7bf7e58ba081de890481b.zip chromium_src-74bdf9a049376428c7d7bf7e58ba081de890481b.tar.gz chromium_src-74bdf9a049376428c7d7bf7e58ba081de890481b.tar.bz2 |
Ensure HttpResponseHeaders::raw_headers_ always ends with 2 '\0' characters.
BUG=105971
TEST=no
Review URL: http://codereview.chromium.org/8760010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_headers.h')
-rw-r--r-- | net/http/http_response_headers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h index e331389..c4636a6 100644 --- a/net/http/http_response_headers.h +++ b/net/http/http_response_headers.h @@ -278,7 +278,7 @@ class NET_EXPORT HttpResponseHeaders // construct a valid one. Example input: // HTTP/1.1 200 OK // with line_begin and end pointing at the begin and end of this line. - // Output will be a normalized version of this, with a trailing \n. + // Output will be a normalized version of this. void ParseStatusLine(std::string::const_iterator line_begin, std::string::const_iterator line_end, bool has_headers); |