Open GoogleCodeExporter opened 9 years ago
patch for the following:
clientCacheHit 3xx redirect loop,
refresh pattern ignore_must_revalidate, store_stale
storeurl and vary
Issue 27, Issue 28
Original comment by chudy.fernandez
on 12 Oct 2009 at 6:00
Attachments:
Rightio. This patch implements a bunch of different changes all at the same
time. Can
you please break them out?
I'll first commit the new refresh pattern options. PLease provide a patch that
just
implements those and I'll evaluate/test/commit that to HEAD.
Original comment by adrian.c...@gmail.com
on 13 Oct 2009 at 7:30
refresh and Bug2451 are from squidhead.
3xx loop.diff should fix Issue 27
luscaVary.diff should fix Issue 28
Original comment by chudy.fernandez
on 13 Oct 2009 at 12:20
Attachments:
The store-stale part of the patch set has been commited in r14411.
Original comment by adrian.c...@gmail.com
on 16 Feb 2010 at 11:23
The 3xx-loop patch has been committed in r14412. Thanks!
Original comment by adrian.c...@gmail.com
on 17 Feb 2010 at 4:08
great !!!
my lusca now more aggressive cache
Thanks alot
Original comment by shakau@gmail.com
on 17 Feb 2010 at 6:38
[deleted comment]
crash with lusca-head r14718
IS THE BUG ?
2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH&fexp=906313%2C90451
5&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1277859600&k
ey=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6AB5F936AD2E88DD490ADB
979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& - NONE/- -
1277864757.633 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.643 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.646 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.648 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.653 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.657 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.658 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.665 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.667 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.671 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature^C34&ipbits=0&burst=40&sver=3&expire=1277859
600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6AB5F936AD2E88DD4
90ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& - NONE/- -
1277864757.693 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.699 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA623890B52CAFEB25.6A
B5F936AD2E88DD490ADB979E0BBA330DD29560&factor=1.25&id=97c60b45e50e101e& -
NONE/- -
1277864757.700 0 192.168.1.3 TCP_MEM_HIT/302 769 GET
http://v16.lscache5.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2
Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWTFhQV19FSkNNNl9QSkFH
&fexp=906313%2C904515&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3
&expire=1277859600&key=yt1&signature=524FBDB790ECC8E6BDAA61CA62389
Original comment by tembokg...@gmail.com
on 29 Jun 2010 at 7:28
yep, confirmed i got this bug too even after doing loop patch
any other solution to this problem? :(
Original comment by barach...@gmail.com
on 30 Jun 2010 at 4:23
Try this one.
Original comment by chudy.fernandez
on 2 Jul 2010 at 4:35
Attachments:
after patch with
http://lusca-cache.googlecode.com/issues/attachment?aid=6611005979497984704&name
=3xx+loop.diff&token=85bab56a2a7e0c5402e5e827b1618238
still crash :(
1278053846.859 6 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053847.294 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053847.298 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053847.735 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053847.738 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053848.385 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053848.664 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053848.965 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053848.969 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053849.144 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053849.394 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053849.464 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053849.582 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053849.585 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053849.772 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053849.964 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053850.514 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053853.410 7 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053853.413 6 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053853.685 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053853.953 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053854.305 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053854.508 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053855.035 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053855.162 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053855.738 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053857.038 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053857.665 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053857.714 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053857.764 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053858.259 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053858.262 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053858.354 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053858.705 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053858.739 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053859.069 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053859.072 6 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053859.076 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053860.075 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
1278053860.797 3 10.0.198.26 TCP_MEM_HIT/302 927 GET
http://v5.lscache4.c.youtube.com/videoplayback? - NONE/- -
Original comment by tembokg...@gmail.com
on 2 Jul 2010 at 7:00
The r14412 commit causes a crash due to the possibility of a null value in the
strcmp().
I propose something like:
char *hdr = httpHeaderGetStr(&e->mem_obj->reply->header, HDR_LOCATION)
if ( http->uri && hdr && !strcmp(http->uri,hdr) ))
Original comment by roelf.di...@gmail.com
on 23 Dec 2010 at 7:42
There's refresh.diff commit in r14945?
Original comment by rminel...@gmail.com
on 23 Sep 2013 at 9:26
Original issue reported on code.google.com by
chudy.fernandez
on 5 Jun 2009 at 12:17