summaryrefslogtreecommitdiff
path: root/lib/cookie.h
Commit message (Collapse)AuthorAgeFilesLines
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Indentation fixes, untabify and related whitespace-cleanup. No code changed.Daniel Stenberg2009-02-271-1/+1
|
* - Niklas Angebrand made the cookie support in libcurl properly deal with theDaniel Stenberg2008-01-311-0/+1
| | | | | | | "HttpOnly" feature introduced by Microsoft and apparently also supported by Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly is now supported when received from servers in HTTP headers, when written to cookie jars and when read from existing cookie jars.
* "Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and soDaniel Stenberg2008-01-231-2/+2
| | | | did "SESS". Fixed now.
* Added lots of constsDan Fandrich2007-08-291-5/+6
|
* Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.Gisle Vanem2006-08-301-1/+3
|
* Watcom lacks <sys/time.h>.Gisle Vanem2006-08-291-1/+1
|
* Silence warning: empty body in an if-statementYang Tse2006-07-311-1/+1
|
* Michael Wallner provided a patch that allows "SESS" to be set withDaniel Stenberg2006-05-241-1/+3
| | | | | CURLOPT_COOKIELIST, which then makes all session cookies get cleared. (slightly edited by me, and the re-indent in cookie.c was also done by me)
* Made the copyright year match the latest modification's year.Daniel Stenberg2006-01-091-1/+1
|
* - Jeff Pohlmeyer found out that if you ask libcurl to load a cookiefile (withDaniel Stenberg2005-08-171-1/+3
| | | | | | | | | | | 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.
* Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is aDaniel Stenberg2005-07-271-0/+6
| | | | | simple interface to extracting and setting cookies in libcurl's internal "cookie jar". See the new cookie_interface.c example code.
* removed tabs and trailing whitespace from sourceDaniel Stenberg2004-10-061-1/+1
|
* David Cohen pointed out that RFC2109 says clients should allow cookies toDaniel Stenberg2004-06-221-12/+19
| | | | | | 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.
* updated year in the copyright stringDaniel Stenberg2004-01-071-1/+1
|
* the new cookie functions that require 'data' passed inDaniel Stenberg2003-08-111-2/+6
|
* Many cookie fixes:Daniel Stenberg2003-04-301-5/+4
| | | | | | | | | | | | 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.
* copyright year update in the source headerDaniel Stenberg2003-01-161-1/+1
|
* updated source code boilerplate/headerDaniel Stenberg2002-09-031-7/+7
|
* support for ingoring session cookies addedDaniel Stenberg2002-05-071-3/+4
|
* copyright string (year) updateDaniel Stenberg2002-03-191-1/+1
|
* Nico Baggus' VMS tweaksDaniel Stenberg2002-02-201-1/+1
|
* Now we're setting a default domain for received cookies so that we canDaniel Stenberg2001-09-261-1/+7
| | | | properly match those cookies in subsequent requests
* cookie jar adjustmentsDaniel Stenberg2001-08-291-0/+2
|
* started working on a function for writing (all) cookies, made it possibleDaniel Stenberg2001-08-231-4/+8
| | | | | | 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.
* Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg2001-01-051-5/+5
|
* dual-license fixDaniel Stenberg2001-01-031-0/+22
|
* Added some RFC2109 supportDaniel Stenberg2000-02-011-8/+13
|
* Initial revisionDaniel Stenberg1999-12-291-0/+45