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

Unified Diff: net/http/http_util.h

Issue 2559593002: Update a TODO to point to the relevant bug. (Closed)
Patch Set: Created 4 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_util.h
diff --git a/net/http/http_util.h b/net/http/http_util.h
index fe68423f6085473cd8af01f4bcbae363c063d308..a0ee9bba79dfab0d366268deb740233e83f4e555 100644
--- a/net/http/http_util.h
+++ b/net/http/http_util.h
@@ -201,10 +201,8 @@ class NET_EXPORT HttpUtil {
// is a workaround to avoid later code from incorrectly interpreting it as
// a line terminator.
//
- // TODO(eroman): we should use \n as the canonical line separator rather than
- // \0 to avoid this problem. Unfortunately the persistence layer
- // is already dependent on newlines being replaced by NULL so
- // this is hard to change without breaking things.
+ // TODO(crbug.com/671799): Should remove or internalize this to
+ // HttpResponseHeaders.
static std::string AssembleRawHeaders(const char* buf, int buf_len);
// Converts assembled "raw headers" back to the HTTP response format. That is
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698