[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] tla seeing stale .listing files through caching web

From: Dustin Sallings
Subject: Re: [Gnu-arch-users] tla seeing stale .listing files through caching web proxy
Date: Fri, 21 May 2004 12:28:06 -0700

On May 21, 2004, at 8:21, Richard Curnow wrote:

        The requested URLs are different, they'll cause different cache events.

I'm accessing a remote http: repository through a caching web proxy. (I can't connect directly since this is at work.) If I run 'tla revisions'
on this repository, I get an out-of-date listing with the latest
revisions missing. However, I can access the same .listing file through
Mozilla or wget and receive back an up-to-date copy.

Here's an excerpt from the tla strace:

3320 write(7, "GET sh64--stable--2.6/.listing HTTP/1.1\r\nHost:\r\nUser-Agent: arch-client/0.1 neon/0.24.0\r\nConnection: TE\r\nTE: trailers\r\n\r\n", 200) = 200
3320  select(8, [7], NULL, NULL, {120, 0}) = 1 (in [7], left {120, 0})
3320 read(7, "HTTP/1.0 200 OK\r\nDate: Fri, 21 May 2004 13:51:31 GMT\r\nServer: Apache/1.3.26 (Unix) Debian GNU/Linux mod_perl/1.26 PHP/4.1.2\r\nLast-Modified: Wed, 12 May 2004 17:16:42 GMT\r\nETag: \"ea7fc-ef-40a25bfa\"\r\nAccept-Ranges: bytes\r\nContent-Length: 239\r\nContent-Type: text/plain; charset=iso-8859-1\r\nAge: 4747\r\nX-Cache: HIT from\r\nProxy-Connection: close\r\n\r\nbase-0\r\npatch-1\r\npatch-10\r\npatch-11\r\npatch -12\r\npatch-13\r\npatch-14\r\npatch-15\r\npatch-16\r\npatch -17\r\npatch-18\r\npatch-19\r\npatch-2\r\npatch-20\r\npatch-21"..., 4096) = 607 3320 write(3, "base-0\r\npatch-1\r\npatch-10\r\npatch-11\r\npatch-12\r\npatch -13\r\npatch-14\r\npatch-15\r\npatch-16\r\npatch-17\r\npatch -18\r\npatch-19\r\npatch-2\r\npatch-20\r\npatch-21\r\npatch -22\r\npatch-23\r\npatch-24\r\npatch-3\r\npatch-4\r\npatch-5\r\npatch -6\r\npatch-7\r\npatch-8\r\npatch-9\r\n", 239) = 239

and from the wget strace:

19619 write(4, "GET sh64--stable--2.6/.listing HTTP/1.0\r\nUser-Agent: Wget/1.7\r\nHost:\r\nAccept: */*\r\n\r\n", 166) = 166
19619 write(2, "Proxy request sent, awaiting response... ", 41) = 41
19619 select(5, [4], NULL, [4], {900, 0}) = 1 (in [4], left {899, 582000}) 19619 read(4, "HTTP/1.0 200 OK\r\nDate: Fri, 21 May 2004 14:48:55 GMT\r\nServer: Apache/1.3.26 (Unix) Debian GNU/Linux mod_perl/1.26 PHP/4.1.2\r\nLast-Modified: Fri, 21 May 2004 14:27:42 GMT\r\nETag: \"ea7f5-103-40ae11de\"\r\nAccept-Ranges: bytes\r\nContent-Length: 259\r\nContent-Type: text/plain; charset=iso-8859-1\r\nX-Cache: HIT from\r\nProxy-Connection: close\r\n\r\nbase-0\r\npatch-1\r\npatch-10\r\npatch-11\r\npatch -12\r\npatch-13\r\npatch-14\r\npatch-15\r\npatch-16\r\npatch -17\r\npatch-18\r\npatch-19\r\npatch-2\r\npatch-20\r\npatch -21\r\npatch-22\r\npatch-23\r\npatch-24\r\npatch-25\r\npatch -26\r\npatch-3\r\npatch-4\r\npatch-5\r\npatch-6\r\npatch-7\r\npatch -8\r\npatch-9\r\n", 4096) = 617

Both clients seem to be getting cache hits from the proxy, but tla is
being given an out of date file.  I can't find anything I can change in
tla to fix this (e.g. HTTP/1.1 v 1.0 looks like an obvious candidate to
try changing, but AFAICS there's no way to adjust this from the command
line) - or is the problem with the web proxy?

Richard \\\ SH-4/SH-5 Core & Debug Architect
Curnow  \\\         SuperH (UK) Ltd, Bristol

Gnu-arch-users mailing list

GNU arch home page:

Dustin Sallings

reply via email to

[Prev in Thread] Current Thread [Next in Thread]