RE: any libcurl API to delete expired cookies?

2013-09-21 Thread Daniel Stenberg
On Sat, 21 Sep 2013, Daniel Stenberg wrote: I'll modify the test case instead. Tomorrow. Test 1514 is now changed to use year 2037 instead so that 32bit and 64 bit time_t libcurls work the same... -- / daniel.haxx.se ---

RE: any libcurl API to delete expired cookies?

2013-09-20 Thread Daniel Stenberg
On Fri, 20 Sep 2013, Steve Holme wrote: 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

RE: any libcurl API to delete expired cookies?

2013-09-20 Thread Steve Holme
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

RE: any libcurl API to delete expired cookies?

2013-09-20 Thread Daniel Stenberg
On Fri, 20 Sep 2013, Daniel Stenberg wrote: Thanks for pointing this out. I'll have to research this a bit then. It looks perhaps it is a 32bit vs 64bit thing and could be due to an overflow somewhere or whatever. Right, like... #if SIZEOF_TIME_T 5 /* 32 bit time_t can only hold dates to

Re: any libcurl API to delete expired cookies?

2013-09-17 Thread YAMADA Yasuharu
Hi Daniel, 2013/9/13 Daniel Stenberg dan...@haxx.se On Fri, 28 Jun 2013, YAMADA Yasuharu wrote: I think the feature of removing expired cookies should be separate from the one that limits the total amount of cookies. I'm convinced there are people who might want that expiring feature

Re: any libcurl API to delete expired cookies?

2013-09-12 Thread Daniel Stenberg
On Fri, 28 Jun 2013, YAMADA Yasuharu wrote: I think the feature of removing expired cookies should be separate from the one that limits the total amount of cookies. I'm convinced there are people who might want that expiring feature without the max limit set. I quarry expired cookies patch

Re: any libcurl API to delete expired cookies?

2013-06-27 Thread xi xi
hi, YAMADA Yasuharu Thanks for your reply. And I also notice that you made some patchs on cookie issues recently, good job:) I believe that it's better for libcurl to provide a API option to set limitation on cookie sizes. This API will surely enhance memory optimization and also prevent the

Re: any libcurl API to delete expired cookies?

2013-06-27 Thread Daniel Stenberg
On Thu, 27 Jun 2013, YAMADA Yasuharu wrote: When I contributed a patch of [new feature] Maximum limitation of cookies, the patch includes a feature of deleting expired cookie. Right, it didn't get in before the feature-freeze and I've not yet tried to get it done since the release. Is the

Re: any libcurl API to delete expired cookies?

2013-06-27 Thread YAMADA Yasuharu
2013/6/28 Daniel Stenberg dan...@haxx.se On Thu, 27 Jun 2013, YAMADA Yasuharu wrote: When I contributed a patch of [new feature] Maximum limitation of cookies, the patch includes a feature of deleting expired cookie. Right, it didn't get in before the feature-freeze and I've not yet tried

Re: any libcurl API to delete expired cookies?

2013-06-26 Thread YAMADA Yasuharu
Hi xi, When I contributed a patch of [new feature] Maximum limitation of cookies, the patch includes a feature of deleting expired cookie. I think the new feature is not loaded. See these mails and remove_expired() function. http://curl.haxx.se/mail/lib-2013-04/0381.html