UserAgent Request, Cookies, and Day too big
am 08.04.2008 02:47:10 von ML
Hi,
Using LWP, doing a standard type :
$getresults = $useragent->request($getrequest);
Problem is I'm getting things like :
Day too big - 24927 > 24855
Sec too small - 24927 < 74752
Sec too big - 24927 > 11647
Day too big - 24927 > 24855
Sec too small - 24927 < 74752
I'm having a feeling that its from the cookies
the end is sending :
Set-Cookie: CFID=386173;expires=Thu, 01-Apr-2038 00:31:39 GMT;path=/
Set-Cookie: CFTOKEN=18309308;expires=Thu, 01-Apr-2038 00:31:39 GMT;path=/
Since the end of the world is already set for
03:14:08 UTC on 19 January 2038.
Anything I can do to get LWP to tell Time::Local to set
no_range_check if thats actually the way to resolve it?
Thanks, Tuc
Re: UserAgent Request, Cookies, and Day too big
am 08.04.2008 10:14:24 von gisle
I do see HTTP::Cookies ignoring this expiry date here, but I don't see
the errors you see. What version of perl are you using?
It might be possible to work around this in LWP, but it would be more
pleasant if perl could simply fix the 2038 problem for us. Anybody
know the state of
with regard to perl-5.10?
--Gisle
On Tue, Apr 8, 2008 at 2:47 AM, Tuc at T-B-O-H.NET wrote:
> Hi,
>
> Using LWP, doing a standard type :
>
> $getresults = $useragent->request($getrequest);
>
> Problem is I'm getting things like :
>
> Day too big - 24927 > 24855
> Sec too small - 24927 < 74752
> Sec too big - 24927 > 11647
> Day too big - 24927 > 24855
> Sec too small - 24927 < 74752
>
>
> I'm having a feeling that its from the cookies
> the end is sending :
>
> Set-Cookie: CFID=386173;expires=Thu, 01-Apr-2038 00:31:39 GMT;path=/
> Set-Cookie: CFTOKEN=18309308;expires=Thu, 01-Apr-2038 00:31:39 GMT;path=/
>
> Since the end of the world is already set for
> 03:14:08 UTC on 19 January 2038.
>
> Anything I can do to get LWP to tell Time::Local to set
> no_range_check if thats actually the way to resolve it?
Re: UserAgent Request, Cookies, and Day too big
am 08.04.2008 15:50:25 von ML
Hi,
Perl is "This is perl, v5.8.5 built for i386-linux-thread-multi".
Unfortunately I am not able to upgrade it (Standardized RPMs from vendors
and all that crud). The Time::Local is 1.10
Thanks, Tuc
>
> I do see HTTP::Cookies ignoring this expiry date here, but I don't see
> the errors you see. What version of perl are you using?
>
> It might be possible to work around this in LWP, but it would be more
> pleasant if perl could simply fix the 2038 problem for us. Anybody
> know the state of
> with regard to perl-5.10?
>
> --Gisle
>
> On Tue, Apr 8, 2008 at 2:47 AM, Tuc at T-B-O-H.NET wrote:
> > Hi,
> >
> > Using LWP, doing a standard type :
> >
> > $getresults = $useragent->request($getrequest);
> >
> > Problem is I'm getting things like :
> >
> > Day too big - 24927 > 24855
> > Sec too small - 24927 < 74752
> > Sec too big - 24927 > 11647
> > Day too big - 24927 > 24855
> > Sec too small - 24927 < 74752
> >
> >
> > I'm having a feeling that its from the cookies
> > the end is sending :
> >
> > Set-Cookie: CFID=386173;expires=Thu, 01-Apr-2038 00:31:39 GMT;path=/
> > Set-Cookie: CFTOKEN=18309308;expires=Thu, 01-Apr-2038 00:31:39 GMT;path=/
> >
> > Since the end of the world is already set for
> > 03:14:08 UTC on 19 January 2038.
> >
> > Anything I can do to get LWP to tell Time::Local to set
> > no_range_check if thats actually the way to resolve it?
>