[distcache-users] Re: A defect in distcache 1.5.1
Brought to you by:
geoffthorpe
|
From: Priit R. <pri...@se...> - 2005-11-01 14:05:17
|
Priit Randla wrote:
>
> Hello,
>
> While writing a squid authentication module (pin-calc with limited
> lifetime one-time passwords) which supports sharing user
> authentication status
> within squid cluster (using distcache, of course ;-)) I found out that
> when I created distcache sessions with timeout of 10 hours,
> these sessions would be removed by dc_server in 1640 seconds instead.
> I took a look at the source and spotted following problem in distcache
> 1.5.1
> libsys/sys.c:
Well, the problem is real but the patch isn't complete enough.
One more macro with unsigned long overflowing.
Hope this patch is better...
Regards,
Priit
|