The METHOD_XXX is HTTP methods. The three mentioned methods are
special methods needing special attention.
r->content_length is the Content-length header in the request. We
need to deal differently with requests having a request entity.
Hmm.. which Squid version are you looking at? It would be helpful if
you looked at the current development version (or perhaps 2.5). None
of the developers is actively working on Squid-2.4 and most have
forgotten what it looked like..
Regards
Henrik
On Wednesday 17 April 2002 08:41, maer727@sohu.com wrote:
> Hi, pals!
>
> In function "clientProcessRequest", there are five cases to check,
> METHOD_CONNECT, METHOD_PURGE, METHOD_TRACE, r->content_length >= 0,
> and http->log_type = clientProcessRequest2(http); .
>
> IMHO, METHOD_TRACE implements cache miss and
> clientProcessRequest2(http) processes cache hit. Am I correct?
>
> I do not understand the the meaning of the following cases,
> METHOD_CONNECT, METHOD_PURGE and r->content_length >= 0.
>
> What do they mean? What are their functions?
>
> Best regards,
> George, Ma
Received on Wed Apr 17 2002 - 02:09:30 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:11 MST