cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: any libcurl API to delete expired cookies?

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Fri, 20 Sep 2013 22:30:12 +0100

On Tue, 17 Sep 2013, Daniel Stenberg wrote:

> > I create patch again which branch is branched from curl git master
today.
> > Please check it.
> > https://github.com/aYasuharuYamada/curl/commit/b30ce0b990e52ea4b44
> > 7cfbfbb21e77b5c399200
>
> Thanks a lot, I've renumbered 9001 to 1415 but I also had to change the
> numbers in the test for the numerical representation of the expiration
date
> for the cookies that aren't expired. Let's see if this will give us
reasons to dig
> deeper or not.

I appreciate that I've been breaking the auto builds a fair bit over the
last few of days so we haven't been able to see the wood for the trees so to
speak, but it appears that test 1415 breaks on AIX, IRIX and Tru64 for the
01 Jan 2038 dates which if I've understood the logs correctly is
representing the date numerically as 2147483647 rather than 2145916800:

-.example.com TRUE / FALSE 2145916800 test2value test2
 -.example.com TRUE / FALSE 2145916800 test4value test4
 -.example.com TRUE / FALSE 2145916800 test7value test7
 +.example.com TRUE / FALSE 2147483647 test2value test2
 +.example.com TRUE / FALSE 2147483647 test4value test4
 +.example.com TRUE / FALSE 2147483647 test7value test7

Kind Regards

Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-09-20