From: Christos Tsantilas Date: Mon, 25 Oct 2010 21:49:58 +0000 (+0300) Subject: Client-side bandwidth limit (a.k.a., quota or delay pool) implementation. X-Git-Tag: take1~141 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d15c7ffcfb149fc4903dc9377b6ae037d21b9b38;p=thirdparty%2Fsquid.git Client-side bandwidth limit (a.k.a., quota or delay pool) implementation. Put fde::clientInfo initialization inside an "#if DELAY_POOLS/#endif" to allow squid compile when delay pools are disabled --- diff --git a/src/fde.h b/src/fde.h index 52535d1445..d73f387fb0 100644 --- a/src/fde.h +++ b/src/fde.h @@ -146,7 +146,9 @@ private: bytes_written = 0; pconn.uses = 0; pconn.pool = NULL; +#if DELAY_POOLS clientInfo = NULL; +#endif epoll_state = 0; memset(&disk, 0, sizeof(_fde_disk)); read_handler = NULL;