Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-14 | setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h> | Yang Tse | |
Inclusion of top two most included header files now done in setup_once.h | |||
2011-09-03 | fix a bunch of MSVC compiler warnings | Yang Tse | |
2011-07-26 | stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h | Yang Tse | |
2011-05-18 | CLOSESOCKETFUNCTION: added | Daniel Stenberg | |
Introduced the initial setup to allow closesocket callbacks by making sure sclose() is only ever called from one place in the libcurl source and still run all test cases fine. | |||
2011-04-27 | source cleanup: unify look, style and indent levels | Daniel Stenberg | |
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed. | |||
2011-04-21 | In lib/, change 'wanna' to 'want to'. | Fabian Keil | |
Found with codespell. | |||
2011-03-23 | ipv6: only probe once | Daniel Stenberg | |
Move ipv6-functional-probe into a single function that is used from all places that need to know. Make the probe function store the result in a static variable so that subsequent invokes just returns the previous result and won't have to probe again. | |||
2010-11-11 | ip_version: moved to connection struct | Daniel Stenberg | |
The IP version choice was previously only in the UserDefined struct within the SessionHandle, but since we sometimes alter that option during a request we need to have it on a per-connection basis. I also moved more "init conn" code into the allocate_conn() function which is designed for that purpose more or less. | |||
2010-04-16 | resolvers: no more using AI_CANONNAME | Daniel Stenberg | |
No resolver anymore needs to use AI_CANONNAME and do reverse lookups. We should work hard to avoid having code that relies on it. | |||
2010-03-24 | remove the CVSish $Id$ lines | Daniel Stenberg | |
2010-01-25 | Constantine Sapuntzakis threaded resolver enhancements | Yang Tse | |
2010-01-22 | Constantine Sapuntzakis refactoring of async callbacks, allowing | Yang Tse | |
removal of Curl_addrinfo_copy(), Curl_addrinfo6_callback(), and Curl_addrinfo4_callback() | |||
2010-01-18 | Constantine Sapuntzakis enhancements to make memory tracking log file writing | Yang Tse | |
of messages atomic, on systems where an fwrite of a memory buffer is atomic. | |||
2009-12-30 | VMS specific preprocessor symbol checking adjustments | Yang Tse | |
2009-04-21 | libcurl's memory.h renamed to curl_memory.h | Yang Tse | |
2009-04-21 | Moved potential inclusion of system's malloc.h and memory.h header files to | Yang Tse | |
setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively. | |||
2008-10-30 | Move curl_dofreeaddrinfo() and curl_dofreeaddrinfo() | Yang Tse | |
implementation from lib/hostip6.c to lib/curl_addrinfo.c and prototypes from lib/hostip.h to lib/curl_addrinfo.h | |||
2008-10-30 | Use our Curl_addrinfo definition even when an addrinfo struct is available. | Yang Tse | |
Use a wrapper function to call system's getaddrinfo(). | |||
2008-10-27 | add null-pointer check | Yang Tse | |
2008-09-29 | Removed unneeded includes of signal.h and setjmp.h | Dan Fandrich | |
2008-09-24 | ntoa() and inet_ntoa_r() no longer used | Yang Tse | |
2008-07-27 | Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4 | Dan Fandrich | |
address in an IPv6 capable libcurl. | |||
2007-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-07-01 | Thomas J. Moore provided a patch that introduces Kerberos5 support in | Daniel Stenberg | |
libcurl. This also makes the options change name to --krb (from --krb4) and CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still | |||
2007-02-26 | Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files | Gisle Vanem | |
since they're already included through "setup.h". | |||
2007-02-16 | use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling | Yang Tse | |
2006-07-27 | put back the correct logic, as the change dated July 11th 2006 added bad | Daniel Stenberg | |
behaviour and a socket leak | |||
2006-07-25 | Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H ↵ | Yang Tse | |
shall be defined if <malloc.h> header file must be included even when including <stdlib.h>. | |||
2006-07-24 | Use the proper Curl_freeaddrinfo() for CURLRES_ARES. | Gisle Vanem | |
2006-07-21 | Constify arguments to Curl_he2ai() and Curl_addrinfo_copy(). | Gisle Vanem | |
2006-07-21 | Constify 'hostname' and 'service' to various resolver functions. | Gisle Vanem | |
2006-07-21 | Changes for combination ENABLE_IPV6 and USE_ARES. | Gisle Vanem | |
2006-07-20 | Avoid warning "comparison of unsigned expression < 0 is always false" | Gisle Vanem | |
2006-07-11 | include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined. | Yang Tse | |
2006-07-04 | Test HAVE_GETNAMEINFO definition before using GETNAMEINFO_XXX definitions. | Yang Tse | |
2006-07-03 | Fix compiler warning. | Yang Tse | |
2006-05-05 | additional renames of Curl_ourerrno => Curl_sockerrno | Daniel Stenberg | |
2006-05-04 | Roland Blom filed bug report #1481217 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows. | |||
2006-04-26 | Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines | Gisle Vanem | |
(more logical). | |||
2005-12-13 | Undo last 'fix', since it was not the proper one. | Yang Tse | |
2005-12-12 | Fix compiler warning | Yang Tse | |
2005-12-11 | Undo last changes | Yang Tse | |
2005-12-11 | Fix compiler warning and compatibility issue with the type of the parameter ↵ | Yang Tse | |
used in getnameinfo() to receive the length of the sockaddr struct. | |||
2005-12-08 | Fix compiler warning | Yang Tse | |
2005-11-08 | Removed the use of AI_CANONNAME in the IPv6-enabled resolver functions since | Daniel Stenberg | |
we really have no use for reverse lookups of the address. I truly hope these are the last reverse lookups we had lingering in the code! | |||
2005-10-20 | Added a dump_addrinfo() function to ease debugging of resolved names. Define | Daniel Stenberg | |
DEBUG_ADDRINFO to enable. | |||
2005-10-10 | pass a NULL pointer in the service argument (the second) if the port number | Daniel Stenberg | |
was 0 as it seems at least some AIX versions don't like a "0" string there | |||
2005-09-16 | keep 'socktype' in the connectdata struct and make sure we use that for all | Daniel Stenberg | |
protocol sockets even if the resolved address may say otherwise | |||
2005-09-02 | John Kelly added TFTP support to libcurl. A bunch of new error codes was | Daniel Stenberg | |
added. TODO: add them to docs. add TFTP server to test suite. add TFTP to list of protocols whereever those are mentioned. | |||
2005-04-19 | only define _REENTRANT if not already defined, and only in setup.h | Daniel Stenberg | |