Squid internals The comm loop (src/comm_select.c) Notes Since squid is an IO-driven application, most callbacks from completed IO simply register new IO requests The "root" IO requests come from either events registered at startup, or listening sockets registered at startup (eg the HTTP client socket)