aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-12-05Added a run-time check to warn if TFTP is going to fail due to portabilityDan Fandrich
issues in the code.
2005-12-05Yang Tse fixed: Openssl 0.9.9 makes 'const' the SSL_METHOD parameter inDaniel Stenberg
SSL_CTX_new and others, and also makes functions SSLv23_client_method, TLSv1_client_method, etc return a 'const' SSL_METHOD pointer. Previous versions do not use the 'const' qualifier.
2005-12-05Another Yang Tse warning cleanup raid!Daniel Stenberg
2005-12-04Recent OpenSSL returns a 'const' in '*_client_method()'. So avoidGisle Vanem
'assignment discards qualifiers from pointer target type' warning.
2005-12-02Yang Tse's fix to only provide the proto if there is such a function andDaniel Stenberg
we didn't find any proto
2005-12-02Yang Tse fixed the 4th argument in the sendto() callsDaniel Stenberg
2005-12-01Jamie Newton pointed out that libcurl's file:// code would close() a zeroDaniel Stenberg
file descriptor if given a non-existing file.
2005-11-30cast the va_arg() assignment to ftp_filemethod properlyDaniel Stenberg
2005-11-28new experimental "ftp method" codeDaniel Stenberg
2005-11-28Yang Tse's changes to provide an inet_pton() proto for the platforms whoDaniel Stenberg
don't have one in order to fix a remaining warning on IRIX 6.2.
2005-11-25Yang Tse: fixes the use of Curl_inet_ntop and Curl_inet_pton with noDaniel Stenberg
prototypes on some platforms, ie IRIX 6.2 MIPS C 6.2
2005-11-24Yang Tse: use static on file-private functionsDaniel Stenberg
2005-11-24Yang Tse: fix compilation errors when SSL is not disabled and HTTP isDaniel Stenberg
disabled
2005-11-24Yang Tse: removes GOPHER protocol when HTTP is disabledDaniel Stenberg
2005-11-24Changes for OpenWatcom 1.4.Gisle Vanem
2005-11-24Doug Kaufman's set of patches to make curl build fine on DJGPP again usingDaniel Stenberg
configure.
2005-11-23Yang Tse's patch to silence MSVC warningsDaniel Stenberg
2005-11-23only enable NTLM if HTTP and NTLM is not disabled, and if NTLM is disabledDaniel Stenberg
we define an empty macro for the ntlm cleanup function
2005-11-23Yang Tse fixed MSVC 6.0 warningsDaniel Stenberg
2005-11-18fix compiler warningDaniel Stenberg
2005-11-17I extended a patch from David Shaw to make libcurl _always_ provide an errorDaniel Stenberg
string in the given error buffer to address the flaw mention on 21 sep 2005.
2005-11-14Quagmire reported that he needed to raise a NTLM buffer for SSPI to workDaniel Stenberg
properly for a case, and so we did. We raised it even for non-SSPI builds but it should not do any harm. http://curl.haxx.se/bug/view.cgi?id=1356715
2005-11-14Yang Tse: msvc7+ has deprecated the 'DESCRIPTION' section inDaniel Stenberg
module-definition files. this section is not mandatory for msvc60 so it could be completely removed from libcurl.def.
2005-11-14Jan Kunder's debian bug reportDaniel Stenberg
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338680 identified a weird error message for when you try to upload a file and the requested directory doesn't exist on the target server.
2005-11-13Yang Tse fixed compiler warningsDaniel Stenberg
2005-11-13to build with old gnutls verions, don't use the *_t typesDaniel Stenberg
2005-11-13Add HAVE_STRUCT_SOCKADDR_STORAGE.Gisle Vanem
My mistake; WinCE has it's own config-file.
2005-11-13Fix for WIN32. WIN32 does have 'struct sockaddr_storage', butGisle Vanem
that's in <winsock2.h>. Hence tftp.c wouldn't compile on WinCE.
2005-11-13Thanks to this nice summary of poll() implementations:Daniel Stenberg
http://www.greenend.org.uk/rjk/2001/06/poll.html and further tests by Eugene Kotlyarov, we now know that cygwin's poll returns only POLLHUP on remote connection closure so we check for that case (too) and re-enable poll for cygwin builds.
2005-11-12oops * 2Daniel Stenberg
2005-11-12oopsDaniel Stenberg
2005-11-12Reversed the logic for sockaddr_storage and made our own Curl_sockaddr_storageDaniel Stenberg
struct instead to use.
2005-11-11Dima Barsky patched problem #1348930: the GnuTLS code completely ignoredDaniel Stenberg
client certificates! (http://curl.haxx.se/bug/view.cgi?id=1348930).
2005-11-11Moved the sockaddr_storage definition to lib/sockaddr.h and only include thatDaniel Stenberg
in files that actually need the struct.
2005-11-10David Lang fixed IPv6 support for TFTP!Daniel Stenberg
2005-11-10David Lang: if there is no sockaddr_storage, make up our own and use thatDaniel Stenberg
2005-11-08Removed the use of AI_CANONNAME in the IPv6-enabled resolver functions sinceDaniel 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-11-08Dmitry Bartsevich discovered some issues in compatibilty of SSPI-enabledDaniel Stenberg
version of libcurl with different Windows versions. Current version of libcurl imports SSPI functions from secur32.dll. However, under Windows NT 4.0 these functions are located in security.dll, under Windows 9x - in secur32.dll and Windows 2000 and XP contains both these DLLs (security.dll just forwards calls to secur32.dll). Dmitry's patch loads proper library dynamically depending on Windows version. Function InitSecurityInterface() is used to obtain pointers to all of SSPI function in one structure. : ----------------------------------------------------------------------
2005-11-01Use an empty '*mod_name'.Gisle Vanem
2005-10-31Vilmos Nebehaj improved libcurl's LDAP abilities:Daniel Stenberg
The LDAP code in libcurl can't handle LDAP servers of LDAPv3 nor binary attributes in LDAP objects. So, I made a quick patch to address these problems. The solution is simple: if we connect to an LDAP server, first try LDAPv3 (which is the preferred protocol as of now) and then fall back to LDAPv2. In case of binary attributes, we first convert them to base64, just like the openldap client does. It uses ldap_get_values_len() instead of ldap_get_values() to be able to retrieve binary attributes correctly. I defined the necessary LDAP macros in lib/ldap.c to be able to compile libcurl without the presence of libldap
2005-10-31kill trailing whitespaceDaniel Stenberg
2005-10-27Nis Jorgensen filed bug report #1338648Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1338648) which really is more of a feature request, but anyway. It pointed out that --max-redirs did not allow it to be set to 0, which then would return an error code on the first Location: found. Based on Nis' patch, now libcurl supports CURLOPT_MAXREDIRS set to 0, or -1 for infinity. Added test case 274 to verify.
2005-10-27Added option '-zc' puts const data in code-segment.Gisle Vanem
Added CURL_DISABLE_TFTP; tftp.c doesn't compile as-is.
2005-10-25close the existing socket when trying next IP, as otherwise we leak one!Daniel Stenberg
bug #1326306
2005-10-22 Dima Barsky reported a problem with GnuTLS-enabled libcurl in bug reportDaniel Stenberg
#1334338 (http://curl.haxx.se/bug/view.cgi?id=1334338). When reading an SSL stream from a server and the server requests a "rehandshake", the current code simply returns this as an error. I have no good way to test this, but I've added a crude attempt of dealing with this situation slightly better - it makes a blocking handshake if this happens. Done like this because fixing this the "proper" way (that would handshake asynchronously) will require quite some work and I really need a good way to test this to do such a change.
2005-10-21"Ofer" reported a problem when libcurl re-used a connection and failed to doDaniel Stenberg
it, it could then accidentally actually crash. Presumably, this concerns FTP connections. http://curl.haxx.se/bug/view.cgi?id=1330310
2005-10-21Temprimus improved the MSVC makefile so that the static debug SSL libs areDaniel Stenberg
linked to the executable and not to the libcurld.lib http://curl.haxx.se/bug/view.cgi?id=1326676
2005-10-21Bradford Bruce made the windows resolver code properly returnDaniel Stenberg
CURLE_COULDNT_RESOLVE_PROXY and CURLE_COULDNT_RESOLVE_HOST on resolving errors (as documented).
2005-10-20Dave Dribin made libcurl understand and handle cases when the serverDaniel Stenberg
(wrongly) sends *two* WWW-Authenticate headers for Digest. While this should never happen in a sane world, libcurl previously got into an infinite loop when this occurred. Dave added test 273 to verify this.
2005-10-20Added a dump_addrinfo() function to ease debugging of resolved names. DefineDaniel Stenberg
DEBUG_ADDRINFO to enable.