Commit graph

7 commits

Author SHA1 Message Date
Christian Dywan 28eb039ec0 Only update expiry of cookies if higher than maximum
Also assume 0 days to really mean 1 hour, and set the
maximum age accordingly. Otherwise SoupCookie thinks
that these cookies expire immediately.
2010-10-03 07:15:43 +02:00
Christian Dywan 3c7d4800bc Reset age to enforce session cookies, don't delete
It is more practical to keep long-lived cookies but treat them
as if they were session cookies.
2010-10-03 07:15:43 +02:00
Christian Dywan 16ce2e9516 Write cookies to a temporary file first, to be safe
It may happen that we are running out of space in the middle
of writing the file, and fopen deleted it already.
2010-09-20 23:37:47 +02:00
Christian Dywan 15790565e8 Create cookie jar on startup instead of waiting for an HTTP request 2009-03-24 01:10:15 +01:00
Christian Dywan a6ac02daf3 Drop libSoup guards in KatzeHTTPAuth and Katze HTTPCookies 2009-03-16 02:20:58 +01:00
Christian Dywan f2d5d6e29d Fix build running with libSoup < 2.25.2 2009-02-20 00:53:21 +01:00
Christian Dywan 79ed3a06c3 Factor persistent cookies into a soup feature 2009-02-14 04:14:01 +01:00