]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Remove unused clientReplyContext::holdingBuffer (#1272)
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 13 Feb 2023 20:38:38 +0000 (20:38 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 13 Feb 2023 20:38:45 +0000 (20:38 +0000)
The data member has been unused since inception in 2003 commit 4993f57.
The underlying dumb StoreIOBuffer class does not lock/copy anything.

src/client_side_reply.cc
src/client_side_reply.h

index 973e297828578d17cca5153b36d7c91d84c1a513..0004137cbc9b3a01d11df6eb5ee783595b3f9d0d 100644 (file)
@@ -2100,7 +2100,6 @@ clientReplyContext::sendMoreData (StoreIOBuffer result)
         sc->setDelayId(DelayId::DelayClient(http,reply));
 #endif
 
-    holdingBuffer = result;
     processReplyAccess();
     return;
 }
index 5e6de0864380c7d8868f1a0b61bdc2fdf0205647..68b45715b33ab5dd4254eeab88e73bbe8726b415 100644 (file)
@@ -99,7 +99,6 @@ private:
     void sendStreamError(StoreIOBuffer const &result);
     void pushStreamData(StoreIOBuffer const &result, char *source);
     clientStreamNode * next() const;
-    StoreIOBuffer holdingBuffer;
     HttpReply *reply;
     void processReplyAccess();
     static ACLCB ProcessReplyAccessResult;