aboutsummaryrefslogtreecommitdiff
path: root/lib/getinfo.c
AgeCommit message (Collapse)Author
2006-05-10David McCreedy provided a fix for CURLINFO_LASTSOCKET that does extendedDaniel Stenberg
checks on the to-be-returned socket to make sure it truly seems to be alive and well. For SSL connection it (only) uses OpenSSL functions.
2006-03-21David McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry pathDaniel 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.
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.
2005-04-22modified this yearDaniel Stenberg
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
2004-12-16Renamed a struct member to avoid conflict with a C++ reserved word.Dan Fandrich
2004-12-14urldata.h: Removed engine_list.Gisle Vanem
ssluse.*: Added SSL_strerror(). Curl_SSL_engines_list() now returns a slist which must be freed by caller.
2004-12-14Moved the engine stuff from the root-level of the SessionHandle struct to theDaniel Stenberg
UrlState sub-struct. Also made the engine_list exist for non-ssl builds to make curl build.
2004-12-13Handle new type CURLINFO_SLIST.Gisle Vanem
Handle new info list CURLINFO_SSL_ENGINES.
2004-10-19CURLINFO_NUM_CONNECTS and moreDaniel Stenberg
2004-09-30- Larry Campbell added CURLINFO_OS_ERRNO to curl_easy_getinfo() that allows anDaniel Stenberg
app to retrieve the errno variable after a (connect) failure. It will make sense to provide this for more failures in a more generic way, but let's start like this.
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-03-11dl and ulspeed are now curl_off_t so typecast them to double when weDaniel Stenberg
return their values
2004-03-10Use more curl_off_t variables when doing the progress meter calculations andDaniel Stenberg
argument passing and try to convert to double only when providing data to the external world.
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-09-04Based on Joerg Mueller-Tolk's patch, this introduces support forDaniel Stenberg
CURLINFO_HTTPAUTH_AVAIL and CURLINFO_PROXYAUTH_AVAIL
2003-08-20CURLINFO_RESPONSE_CODE replaces CURLINFO_HTTP_CODEDaniel Stenberg
2003-08-11Added support for CURLINFO_HTTP_CONNECTCODEDaniel Stenberg
2003-06-26use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg
2003-05-01Andy Cedilnik fixed some compiler warningsDaniel Stenberg
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-16Allow CURLINFO_PRIVATE to be NULL, patch by Markus OberhumerDaniel Stenberg
2002-11-20Kjetil Jacobsen's patch that introduces CURLOPT_PRIVATE and CURLINFO_PRIVATEDaniel Stenberg
for storage and retrieval of private data in the curl handle.
2002-10-28prevent compiler warningsDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-04-16Dirk Manske brought the patch that introduces two new CURLINFO_* values:Daniel Stenberg
CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.
2002-04-02Jacky Lam added memdebug.h include to prevent crashes when that is usedDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2002-02-20Nico Baggus' VMS tweaksDaniel Stenberg
2002-01-29Giaslas Georgios introduced CURLINFO_CONTENT_TYPEDaniel Stenberg
2002-01-27set header and request size to 0 before each *_perform()Daniel Stenberg
2001-11-20Georg Horn's STARTTRANSFER_TIME patchDaniel Stenberg
2001-10-11looks nicer and is better compatible with older vim versionsSterling Hughes
2001-09-28filetime should be -1 if the remote time was unknown as 0 is actually aDaniel Stenberg
valid time. we now store the filetime as a long to know for sure it can hold -1 (there exist some unsigned time_t cases)
2001-09-07Added formatting sections for emacs and vimSterling Hughes
2001-08-30Major rename and redesign of the internal "backbone" structs. Details willDaniel Stenberg
be posted in a minute to the libcurl list.
2001-08-15Added Curl_initinfo() that's supposed to init session-specific getinfo-Daniel Stenberg
variables
2001-08-14added typecast when converting const char * to char *Daniel Stenberg
2001-03-09curl_ prefix modified to Curl_Daniel Stenberg
2001-02-04CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD wereDaniel Stenberg
added as suggested by Bob Schader
2001-01-03dual-license fixDaniel Stenberg
2000-11-22document time fixesDaniel Stenberg
2000-11-06adjusted the time-keeping function to work better for location followingDaniel Stenberg
requests
2000-10-30new urldata ssl layout and T. Bharath brought the new SSL cert verify functionDaniel Stenberg
2000-10-04counts header and request sizeDaniel Stenberg
2000-10-02getinfo.c replaces the former writeout.cDaniel Stenberg