aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-13 16:15:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-13 16:15:26 +0100
commit64e959ffe37c436503f9fed1ce2d6ee6ae50bd9a (patch)
treef86e6fba6c3250aea26429bed2f5c80c97494aa0 /lib/http.c
parent86e21973376320b243b180679ff9c439b92e7cd0 (diff)
cleanup: general removal of TODO (and similar) comments
They tend to never get updated anyway so they're frequently inaccurate and we never go back to revisit them anyway. We document issues to work on properly in KNOWN_BUGS and TODO instead.
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/http.c b/lib/http.c
index b652c2e8b..12a70d6de 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -2044,10 +2044,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
ptr = strstr(url, conn->host.dispname);
if(ptr) {
/* This is where the display name starts in the URL, now replace this
- part with the encoded name. TODO: This method of replacing the host
- name is rather crude as I believe there's a slight risk that the
- user has entered a user name or password that contain the host name
- string. */
+ part with the encoded name. */
size_t currlen = strlen(conn->host.dispname);
size_t newlen = strlen(conn->host.name);
size_t urllen = strlen(url);
@@ -3329,7 +3326,6 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
conn->httpversion = 11; /* For us, RTSP acts like HTTP 1.1 */
}
else {
- /* TODO: do we care about the other cases here? */
nc = 0;
}
}
@@ -3560,7 +3556,6 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
}
if(k->auto_decoding)
- /* TODO: we only support the first mentioned compression for now */
break;
if(checkprefix("identity", start)) {