From d715a4870ca179a4262b37c26ad53f7391b14660 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Sun, 23 Sep 2012 11:41:29 +0200 Subject: [PATCH] Removed unused close_handler type and conn_close_pool --- src/comm.cc | 3 --- src/structs.h | 9 --------- 2 files changed, 12 deletions(-) diff --git a/src/comm.cc b/src/comm.cc index 884b6f0c37..c5a1ed7010 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -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 */ diff --git a/src/structs.h b/src/structs.h index b98d10c3be..3f4276bf1b 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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 { -- 2.47.2