aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
AgeCommit message (Collapse)Author
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse
to verify winsock API availability.
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse
2006-10-04Dmitriy Sergeyev provided an example source code that crashed CVS libcurlDaniel Stenberg
but that worked nicely in 7.15.5. I converted it into test case 532 and fixed the problem.
2006-09-09iconv-data needs to be fully reallocated (to prevent a double-free).Gisle Vanem
2006-09-09Duplicate iconv-data too in curl_easy_duphandle().Gisle Vanem
2006-09-07Major overhaul introducing http pipelining support and shared connectionDaniel Stenberg
cache within the multi handle.
2006-09-03Simplified #ifdef on WIN32; the statementGisle Vanem
" !defined(__GNUC__) || defined(__MINGW32__)" implies CygWin.
2006-08-30Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.Gisle Vanem
2006-08-29Watcom lacks <sys/time.h>.Gisle Vanem
2006-07-25Silence iconv() warnings.Gisle Vanem
2006-07-11Moved strdup replacement from src/main.c into src/strdup.c so it's availableDan Fandrich
in libcurl as well, if necessary.
2006-07-07Ingmar Runge provided a source snippet that caused a crash. The reason forDaniel Stenberg
the crash was that libcurl internally was a bit confused about who owned the DNS cache at all times so if you created an easy handle that uses a shared DNS cache and added that to a multi handle it would crash. Now we keep more careful internal track of exactly what kind of DNS cache each easy handle uses: None, Private (allocated for and used only by this single handle), Shared (points to a cache held by a shared object), Global (points to the global cache) or Multi (points to the cache within the multi handle that is automatically shared between all easy handles that are added with private caches).
2006-04-07First commit of David McCreedy's EBCDIC and TPF changes.Daniel Stenberg
2006-02-11Karl M added the CURLOPT_CONNECT_ONLY and CURLINFO_LASTSOCKET options thatDaniel Stenberg
an app can use to let libcurl only connect to a remote host and then extract the socket from libcurl. libcurl will then not attempt to do any transfer at all after the connect is done.
2006-01-15Bryan Henderson turned the 'initialized' variable for curl_global_init()Daniel Stenberg
into a counter, and thus you can now do multiple curl_global_init() and you are then supposed to do the same amount of calls to curl_global_cleanup(). Bryan also updated the docs accordingly.
2005-07-17Simplified the code within curl_easy_perform() that calls Curl_perform().Daniel Stenberg
Pointed out by Bjorn Reese.
2005-04-07GnuTLS support added. There's now a "generic" SSL layer that we use all overDaniel Stenberg
internally, with code provided by sslgen.c. All SSL-layer-specific code is then written in ssluse.c (for OpenSSL) and gtls.c (for GnuTLS). As far as possible, internals should not need to know what SSL layer that is in use. Building with GnuTLS currently makes two test cases fail. TODO.gnutls contains a few known outstanding issues for the GnuTLS support. GnuTLS support is enabled with configure --with-gnutls
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-02-09better error checking and SSL init by David ByronDaniel Stenberg
2005-01-29Define CURL_MULTIEASY when building this, to use my new curl_easy_perform()Daniel Stenberg
that uses the multi interface to run the request. It is a great testbed for the multi interface and I believe we shall do it this way for real in the future when we have a successor to curl_multi_fdset().
2005-01-11Renamed easy.h and multi.h to easyif.h and multiif.h to make sure they don'tDaniel Stenberg
shadow our public headers with the former names.
2005-01-10Pavel Orehov reported memory problems with the multi interface in bug reportDaniel Stenberg
#1098843. In short, a shared DNS cache was setup for a multi handle and when the shared cache was deleted before the individual easy handles, the latter cleanups caused read/writes to already freed memory.
2004-12-22C ensures that static variables are initialized to 0Dan Fandrich
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-11-11Fix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST.Daniel Stenberg
2004-11-02Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg
2004-10-04Made the dns entry remain locked while a connection to the host remains toDaniel Stenberg
allow verbose output during this period. Bertrand Demiddelaer reported and helped fixing.
2004-09-28Bertrand Demiddelaer fixed curl_easy_reset() so that it doesn't mistakinglyDaniel Stenberg
enable the progress meter.
2004-07-24curl_easy_reset() added. Need testing and docs. I also think we should makeDaniel Stenberg
the initial setting up the struct should use this single function to avoid having the initialisation code at two places.
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
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-06-02very minor format editDaniel Stenberg
2004-05-27fixed curl_easy_duphandle() to properly clean up all memory if any memoryDaniel Stenberg
function fails and it returns NULL
2004-05-13deal with input arguments as NULLDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-04-29curl_easy_duphandle() works again with ares enabledDaniel Stenberg
2004-04-27IDN: Gisle Vanem made the win32 version handle a missing CHARSET environmentDaniel Stenberg
and then figure it out with a suitable windows call.
2004-04-26added function headers and commentsDaniel Stenberg
2004-03-30adjusted to the new dns cache function to hide more hostip internalsDaniel Stenberg
2004-03-15if the global_init() is called from within curl_easy_init() and returnsDaniel Stenberg
an error code, we now make curl_easy_init fail and return NULL.
2004-03-03David Byron's work on making libcurl only require winsock 1.1 on WindowsDaniel Stenberg
machines.
2004-01-22use curl_off_t instead of off_t!Daniel Stenberg
2004-01-13Diego Casorran's fixes to allow native AmigaOS buildsDaniel Stenberg
2004-01-07updated year in the copyright stringDaniel Stenberg
2004-01-05David J Meyer's large file support.Daniel Stenberg
2003-10-14Kimmo Kinnunen fixed a crash with duphandle() when CURLDEBUG was setDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-08-14return failure when the host cache creation failsDaniel Stenberg
2003-08-11the new cookie functions that require 'data' passed inDaniel Stenberg
2003-08-04Dirk Manske's patch that introduces cookie support to the share interface.Daniel Stenberg