curl-users
curl cookie expire date weirdness
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Feb 2002 01:06:05 +0100 (MET)
Date: Wed, 27 Feb 2002 01:06:05 +0100 (MET)
It appears that test case 46 now breaks due to the date parsers having gone
nuts. (The currently checked-in test case fails on all versions.)
The older curls, including 7.9.1 (getdate.y vesion 1.12) get this diff:
< 127.0.0.1 FALSE / FALSE 1262322000 ckyPersistent
permanent
--- > 127.0.0.1 FALSE / FALSE 1014678000 ckyPersistent permanent (Watch column five from the left. The lower time is what is stored in the test case, and the upper is computed run-time by curl) While the current curl gets this: < 127.0.0.1 FALSE / FALSE 1015282800 ckyPersistent permanent --- > 127.0.0.1 FALSE / FALSE 1014678000 ckyPersistent permanent And the GNU date command says with the same date input: $ date -d "Tue, 01-Jan-2010 05:00:00 GMT" +"%s" 1262322000 So, we're now on version 1.16 of the getdate.y file. One of the changes brought this problem. Tomorrow, I'll start ripping out single versions of that file to see exactly which revision that brought this problem. -- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-02-27