Re: How to get mime type...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 17 Apr 2003 11:50:55 +0200

tor 2003-04-17 klockan 08.16 skrev atit_ldce:
> Hello squid dev.
> i am adding one feature in squid which log error encountared during request processing.
>
> during development of this feature i got following problems
> for invalid req err->request is NULL,
> why this ?

Because Squid could not parse the invalid request, so there is no
request as far as Squid is concerned.

> 2 nd is
> err->url is NULL for all error.

It is not.. a quick grep will tell you quite many places where this is
used.

> is these are bugs or limitations?
> if so should i post to bug report?

I don't see any bug or limitation in this.

> i want to log mime type and cache code [tcp_hit , tcp_miss ...] and destination address.
> e.g
> --- DIRECT/193.216.147.201 text/html

Yes? All of this IS logged in access.log.

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Thu Apr 17 2003 - 03:51:54 MDT

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