]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleanup: remove a wrong TODO
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 1 Oct 2012 22:47:10 +0000 (10:47 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 1 Oct 2012 22:47:10 +0000 (10:47 +1200)
Squid may need to use the hop-by-hop response headers. This is too early
to be removing them. the right place is in client-side before delivering
to the client. Squid already contains code to do it there.

src/http.cc

index 4ac95981b783df427ccbdd51a1c777fe04729656..86bc77b1066d3422356c08d55ed729587a14a6f0 100644 (file)
@@ -724,10 +724,6 @@ HttpStateData::processReplyHeader()
 
     processSurrogateControl (vrep);
 
-    /** \todo IF the reply is a 1.0 reply, AND it has a Connection: Header
-     * Parse the header and remove all referenced headers
-     */
-
     request->hier.peer_reply_status = newrep->sline.status;
 
     ctx_exit(ctx);