]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed unused close_handler type and conn_close_pool
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 23 Sep 2012 09:41:29 +0000 (11:41 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 23 Sep 2012 09:41:29 +0000 (11:41 +0200)
src/comm.cc
src/structs.h

index 884b6f0c376640e9b12fed6716052f0a5a1693c0..c5a1ed7010a79310886f05d559f1e63a4644d938 100644 (file)
@@ -114,7 +114,6 @@ static void commSetTcpNoDelay(int);
 #endif
 static void commSetTcpRcvbuf(int, int);
 
-static MemAllocator *conn_close_pool = NULL;
 fd_debug_t *fdd_table = NULL;
 
 bool
@@ -1462,8 +1461,6 @@ comm_init(void)
      * Since Squid_MaxFD can be as high as several thousand, don't waste them */
     RESERVED_FD = min(100, Squid_MaxFD / 4);
 
-    conn_close_pool = memPoolCreate("close_handler", sizeof(close_handler));
-
     TheHalfClosed = new DescriptorSet;
 
     /* setup the select loop module */
index b98d10c3beb579ca156708858429ccc3ae724572..3f4276bf1b85030578f35f83d769fd7c282e9c68 100644 (file)
@@ -52,15 +52,6 @@ struct acl_size_t {
     int64_t size;
 };
 
-// POD
-class close_handler
-{
-public:
-    PF *handler;
-    void *data;
-    close_handler *next;
-};
-
 // POD
 class dread_ctrl
 {