On Tue, 16 Dec 2003, [big5] ¶À ¤å³Ç wrote:

> Hi all:
>            I want to find the rule of end of URL through cache file. In one computer 
> , I found that after the end of URL , 00 09 have been appeared. However , in another 
> computer , after the end of URL , 00 08 have been appeared. Can anyone tell me why 
> there are two kinds of numbers??? What is the rule imply that???

These are "STORE_META" types that you would find in src/enums.h:

enum {
    STORE_META_VOID,            /* should not come up */
    STORE_META_KEY_URL,         /* key w/ keytype */
    STORE_META_KEY_SHA,
    STORE_META_KEY_MD5,
    STORE_META_URL,             /* the url , if not in the header */
    STORE_META_STD,             /* standard metadata */
    STORE_META_HITMETERING,     /* reserved for hit metering */
    STORE_META_VALID,
    STORE_META_VARY_HEADERS,    /* Stores Vary request headers */
    STORE_META_END
};

The "00" that you find marks the end of the URL,  The "08"
(STORE_META_VARY_HEADERS) or "09" (STORE_META_END) marks the next
data type in the metadata.  Sounds like you can just find the "00" and
ignore the next number.

Duane W.

Reply via email to