--------------------- PatchSet 5343 Date: 2007/08/15 07:30:29 Author: amosjeffries Branch: docs Tag: (none) Log: Bit more magic linkage. Members: doc/Programming-Guide/05_TypicalRequestFlow.dox:1.1.2.1->1.1.2.2 Index: squid3/doc/Programming-Guide/05_TypicalRequestFlow.dox =================================================================== RCS file: /cvsroot/squid-sf//squid3/doc/Programming-Guide/Attic/05_TypicalRequestFlow.dox,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- squid3/doc/Programming-Guide/05_TypicalRequestFlow.dox 11 Jul 2007 05:32:06 -0000 1.1.2.1 +++ squid3/doc/Programming-Guide/05_TypicalRequestFlow.dox 15 Aug 2007 07:30:29 -0000 1.1.2.2 @@ -4,7 +4,7 @@ \par \li A client connection is accepted by the client-side socket support and parsed, or is directly created via - clientBeginRequest. + clientBeginRequest(). \li The access controls are checked. The client-side-request builds an ACL state data structure and registers a callback function @@ -14,13 +14,13 @@ may be redirected. \li The client-side-request is forwarded up the client stream - to GetMoreData which looks for the requested object in the + to GetMoreData() which looks for the requested object in the cache, and or Vary: versions of the same. If is a cache hit, then the client-side registers its interest in the StoreEntry. Otherwise, Squid needs to forward the request, perhaps with an If-Modified-Since header. -\li The request-forwarding process begins with protoDispatch. +\li The request-forwarding process begins with protoDispatch(). This function begins the peer selection procedure, which may involve sending ICP queries and receiving ICP replies. The peer selection procedure also involves checking @@ -28,7 +28,7 @@ \em always_direct. \li When the ICP replies (if any) have been processed, we end - up at protoStart. This function calls an appropriate + up at protoStart(). This function calls an appropriate protocol-specific function for forwarding the request. Here we will assume it is an HTTP request.