aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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.
2005-09-21stricter type usage for time variables to avoid picky compiler warningsDaniel Stenberg
2005-09-21return an error string for the missing URL caseDaniel Stenberg
2005-09-20Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn'tDaniel Stenberg
define SEC_ENTRY and thus fails unless this is done!
2005-09-20typecasts added in an attempt to please the picky compilersDaniel Stenberg
2005-09-19Dmitry Bartsevich made the SSPI support work on Windows 9x as wellDaniel Stenberg
2005-09-16keep 'socktype' in the connectdata struct and make sure we use that for allDaniel Stenberg
protocol sockets even if the resolved address may say otherwise
2005-09-15minor changes, the biggest one being using Curl_select()Daniel Stenberg
2005-09-14oops, return error if an error did occur!Daniel Stenberg
2005-09-07added tftp.cDaniel Stenberg
2005-09-06Fix warning about missing initializers.Gisle Vanem
2005-09-06Fix for bind() on Winsock; AF_UNSPEC (0) is illegal.Gisle Vanem
Should we do this for all targets?
2005-09-06sockets are curl_socket_t to build cleanerDaniel Stenberg
2005-09-06Use SOCK_DGRAM for TFTP. Consider setting this up at one central place, weDaniel Stenberg
have this check done on far too many places by now...
2005-09-06minor Makefile fixes.Gunter Knauf
2005-09-04check that bind() returns successDaniel Stenberg
2005-09-04Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ipDaniel Stenberg
2005-09-02John Kelly added TFTP support to libcurl. A bunch of new error codes wasDaniel Stenberg
added. TODO: add them to docs. add TFTP server to test suite. add TFTP to list of protocols whereever those are mentioned.
2005-08-31use it as 'struct addrinfo' so perhaps it builds on mingw againDaniel Stenberg
2005-08-29Use the more correct BUILDING_LIBCURL define instead of CURLLIB_EXPORTS.Daniel Stenberg
Kevin Lussier pointed this out!
2005-08-29Igor Polyakov fixed a rather nasty problem with the threaded name resolverDaniel Stenberg
for Windows, that could lead to an Access Violation when the multi interface was used due to an issue with how the resolver thread was and was not terminated.
2005-08-29Simon Josefson brought GNU GSS supportDaniel Stenberg
2005-08-29Moved the GnuTLS related TODO items from lib/TODO.gnutls to the properDaniel Stenberg
docs/TODO
2005-08-24Toby Peterson added CURLOPT_IGNORE_CONTENT_LENGTH to the library, accessibleDaniel Stenberg
from the command line tool with --ignore-content-length. This will make it easier to download files from Apache 1.x (and similar) servers that are still having problems serving files larger than 2 or 4 GB. When this option is enabled, curl will simply have to wait for the server to close the connection to signal end of transfer. I wrote test case 269 that runs a simple test that this works.
2005-08-24Fixed CA cert verification using GnuTLS with the default bundle, whichDaniel Stenberg
previously failed due to GnuTLS not allowing x509 v1 CA certs by default.
2005-08-22enabled statically linked builds.Gunter Knauf
2005-08-19Norbert Novotny had problems with FTPS and he helped me work out a patchDaniel Stenberg
that made curl run fine in his end. The key was to make sure we do the SSL/TLS negotiation immediately after the TCP connect is done and not after a few other commands have been sent like we did previously. I don't consider this change necessary to obey the standards, I think this server is pickier than what the specs allow it to be, but I can't see how this modified libcurl code can add any problems to those who are interpreting the standards more liberally.
2005-08-18minor Makefile fixes.Gunter Knauf