aboutsummaryrefslogtreecommitdiff
path: root/lib/share.c
AgeCommit message (Collapse)Author
2011-11-17SSL session share: move the age counter to the share objectAlejandro Alvarez Ayllon
Previously the age counter would be counted individually in each easy handle that shared SSL sessions!
2011-10-20Fixed compilation when HTTP or cookies are disabledDan Fandrich
2011-10-04curl_share_cleanup: avoid compiler warningDaniel Stenberg
Move the variable declaration to within the #ifdef
2011-10-03share: don't use SSL unless enabledDaniel Stenberg
Don't even declare the struct members for disabled features Introducing the CURLSHE_NOT_BUILT_IN return code for the share interface when trying to set a sharing option that has been disabled (or not enabled) in the library.
2011-09-28SSL session sharing support addedAlejandro Alvarez
With locking, plus test, plus documentation
2011-07-26stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse
2011-04-27source cleanup: unify look, style and indent levelsDaniel Stenberg
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
2011-04-04disable cookies: remove ifdefs, move codeDaniel Stenberg
1 - make sure to #define macros for cookie functions in the cookie header when cookies are disabled to avoid having to use #ifdefs in code using those functions. 2 - move cookie-specific code to cookie.c and use the functio conditionally as mentioned in (1). net result: 6 #if lines removed, and 9 lines of code less
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2009-11-18Make usage of calloc()'s arguments consistent with rest of code baseYang Tse
2009-04-21libcurl's memory.h renamed to curl_memory.hYang Tse
2008-12-20malloc+memset => callocDaniel Stenberg
2008-10-19attempt to fix or allow further detection of an elusive icc SIGSEGVYang Tse
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-03-18- Added curl_easy_getinfo typechecker.Michal Marek
- Added macros for curl_share_setopt and curl_multi_setopt to check at least the correct number of arguments.
2007-11-07if () => if()Daniel Stenberg
while () => while() and some other minor re-indentings
2004-12-05Dan Fandrich added the --disable-cookies option to configure to buildDaniel Stenberg
libcurl without cookie support. This is mainly useful if you want to build a minimalistic libcurl with no cookies support at all. Like for embedded systems or similar.
2004-07-02Andrés García found out the share cleanup code crashes when you cleanupDaniel Stenberg
and there are not lock/unlock functions set!
2004-06-09Alexander Krasnostavsky's fix to make libcurl build fine with configureDaniel Stenberg
--disable-http, which thus builds a libcurl without HTTP support.
2004-05-13check that memory allocation functions truly return good data or bail outDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-03-30adjusted to the new dns cache function to hide more hostip internalsDaniel Stenberg
2004-02-26Don't call the lock/unlock functions if they are NULL. They can still beDaniel Stenberg
NULL without violating protocol.
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-08-11the new cookie functions that require 'data' passed inDaniel Stenberg
2003-08-11Dirk Manske's bugfix for the share stuffDaniel Stenberg
2003-08-04Dirk Manske's patch that introduces cookie support to the share interface.Daniel Stenberg
2003-06-26use CURLDEBUG instead of MALLOCDEBUGDaniel Stenberg
2003-06-13Marty Kuhrt's #include fixes for VMSDaniel Stenberg
2003-02-06include stdarg.h since we use va_* stuffDaniel Stenberg
2003-02-04added the sharing of DNS cacheJean-Philippe Barette-LaPierre
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2003-01-09Updated more and now looks and and the API possibly works almost like theDaniel Stenberg
design document specifies. There is still no code inside that uses this.
2003-01-08updated to use the modified share-typesDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-08-13Sterling Hughes brings the share interfaceDaniel Stenberg