aboutsummaryrefslogtreecommitdiff
path: root/lib/cookie.h
AgeCommit message (Collapse)Author
2006-01-09Made the copyright year match the latest modification's year.Daniel Stenberg
2005-08-17- Jeff Pohlmeyer found out that if you ask libcurl to load a cookiefile (withDaniel Stenberg
CURLOPT_COOKIEFILE), add a cookie (with CURLOPT_COOKIELIST), tell it to write the result to a given cookie jar and then never actually call curl_easy_perform() - the given file(s) to read was never read but the output file was written and thus it caused a "funny" result. - While doing some tests for the bug above, I noticed that Firefox generates large numbers (for the expire time) in the cookies.txt file and libcurl didn't treat them properly. Now it does.
2005-07-27Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is aDaniel Stenberg
simple interface to extracting and setting cookies in libcurl's internal "cookie jar". See the new cookie_interface.c example code.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-06-22David Cohen pointed out that RFC2109 says clients should allow cookies toDaniel Stenberg
contain least 4096 bytes while libcurl only allowed 2047. I raised the limit to 4999 now and made the used buffer get malloc()ed instead of simply allocated on stack as before.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-08-11the new cookie functions that require 'data' passed inDaniel Stenberg
2003-04-30Many cookie fixes:Daniel Stenberg
o Save domains in jars like Mozilla does. It means all domains set in Set-Cookie: headers are dot-prefixed. o Save and use the 'tailmatch' field in the Mozilla/Netscape cookie jars (the second column). o Reject cookies using illegal domains in the Set-Cookie: line. Concerns both domains with too few dots or domains that are outside the currently operating server host's domain. o Set the path part by default to the one used in the request, if none was set in the Set-Cookie line.
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-05-07support for ingoring session cookies addedDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2002-02-20Nico Baggus' VMS tweaksDaniel Stenberg
2001-09-26Now we're setting a default domain for received cookies so that we canDaniel Stenberg
properly match those cookies in subsequent requests
2001-08-29cookie jar adjustmentsDaniel Stenberg
2001-08-23started working on a function for writing (all) cookies, made it possibleDaniel Stenberg
to read multiple cookie files, no longer writes to the URL string passed to the _add() function. The new stuff is now conditionally compiled on the COOKIE define. Changed the _init() proto.
2001-01-05Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg
2001-01-03dual-license fixDaniel Stenberg
2000-02-01Added some RFC2109 supportDaniel Stenberg
1999-12-29Initial revisionDaniel Stenberg