Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

/proc/kallsyms format, sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas

Links

XODOX
Impressum

#1: UserAgent Request, Cookies, and Day too big

Posted on 2008-04-08 02:47:10 by 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

Report this message

#2: Re: UserAgent Request, Cookies, and Day too big

Posted on 2008-04-08 10:14:24 by 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 <http://use.perl.org/articles/08/02/07/197204.shtml>
with regard to perl-5.10?

--Gisle

On Tue, Apr 8, 2008 at 2:47 AM, Tuc at T-B-O-H.NET <ml@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?

Report this message

#3: Re: UserAgent Request, Cookies, and Day too big

Posted on 2008-04-08 15:50:25 by 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 <http://use.perl.org/articles/08/02/07/197204.shtml>
> with regard to perl-5.10?
>
> --Gisle
>
> On Tue, Apr 8, 2008 at 2:47 AM, Tuc at T-B-O-H.NET <ml@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?
>

Report this message