aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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.
2005-10-20Temprimus improved the MSVC makefile: "makes a build option available so ifDaniel Stenberg
you set rtlibcfg=static for the make, then it would build with /MT. The default behaviour is /MD (the original)." http://curl.haxx.se/bug/view.cgi?id=1326665
2005-10-14Reported by 'TemPRImus' in bug 1326665: use the "Multi-Threaded" options evenDaniel Stenberg
when building the static library. http://curl.haxx.se/bug/view.cgi?id=1326665
2005-10-13Make sure that the user and domain strings fit in the target buffer before weDaniel Stenberg
copy them there.
2005-10-10pass a NULL pointer in the service argument (the second) if the port numberDaniel Stenberg
was 0 as it seems at least some AIX versions don't like a "0" string there
2005-10-06Added tftp.obj.Gisle Vanem
2005-10-05CURL_TIMECOND_IFMODSINCE actually requires that the remote document has beenDaniel Stenberg
modded since the given time, so we should compare <= and not just <.
2005-10-04Michael Wallner reported that the date parser had wrong offset stored forDaniel Stenberg
the MEST and CEST time zones.
2005-10-02Avoid gcc warning "dereferencing type-punned pointerGisle Vanem
will break strict-aliasing rules".
2005-10-02Fix for building with MS Visual-C and single-threadedGisle Vanem
runtime libs.
2005-09-29Starting now, the verbose text that goes like "About to connect() to" willDaniel Stenberg
now contain the word "proxy" is the hostname is in fact a proxy. This will help users detect situations when they mistakenly use a proxy.
2005-09-27An anonymous submitter filed bug #1299181Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1299181) that identified a silly problem with Content-Range: headers with the 'bytes' keyword written in a different case than all lowercase! It would cause a segfault!
2005-09-27TJ Saunders of the proftpd project identified and pointed out problems withDaniel Stenberg
the modified FTPS negotiation change of August 19 2005. Thus, we revert the change back to pre-7.14.1 status.