Re: last changes in httpHeaderReset()

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 25 May 2003 22:48:28 +0200

On Sunday 25 May 2003 22.47, Henrik Nordstrom wrote:
> On Sunday 25 May 2003 19.52, Evgeny Kotsuba wrote:
> > Hi,
> >
> > It seems that last change in src\HttpHeader.c httpHeaderReset()
> > is not very good.
> >
> > Was:
> > ================================
> > int
> > httpHeaderReset(HttpHeader * hdr)
> > {
> > http_hdr_owner_type ho;
> > assert(hdr);
> > ho = hdr->owner;
>
> While your code is what it should look like, this is nothing new.
> The code has lookes as "Was" above since the http_hdr_owner_type
> was introduced (27 May 1998).

And is cleaned up in Squid-3.

Regards
Henrik
Received on Sun May 25 2003 - 14:48:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:57 MST