]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix build error after trunk merge
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 2 Jun 2014 11:48:00 +0000 (04:48 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 2 Jun 2014 11:48:00 +0000 (04:48 -0700)
src/client_side.cc

index 6cfd24544591d1febe7d0fb751757d0b8282c9f5..a27e418d9d2db6865b79c6ccc42d36b2cace9ded 100644 (file)
@@ -2716,10 +2716,6 @@ clientProcessRequest(ConnStateData *conn, Http1::RequestParser &hp, ClientSocket
     if (http->request->method == Http::METHOD_CONNECT) {
         context->mayUseConnection(true);
         conn->flags.readMore = false;
-
-        // consume header early so that tunnel gets just the body
-        connNoteUseOfBuffer(conn, http->req_sz);
-        notedUseOfBuffer = true;
     }
 
 #if USE_OPENSSL