aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-11-16fix OOM problem reported by Jim MeyeringDaniel Stenberg
2008-11-15based on a report by Jim Meyering, I went over and added checks for returnDaniel Stenberg
codes for all calls to malloc and strdup that were missing. I also changed a few malloc(13) to use arrays on the stack and a few malloc(PATH_MAX) to instead use aprintf() to lower memory use. I also fixed a memory leak in Curl_nss_connect() when CURLOPT_ISSUERCERT is in use.
2008-11-14Added some #ifdefs around header files and change the EAGAIN test toDan Fandrich
fix compilation on Cell (reported by Jeff Curley).
2008-11-14Added .xml as one of the few common file extensions known by the multipartDan Fandrich
form generator. Made the extensions part of the MIME type struct to reduce the size and run-time relocations necessary to build the table.
2008-11-14fix an OOM problem detected by Jim MeyeringDaniel Stenberg
2008-11-14Remove a chunk of unused code that was #ifdef'de on defines we never set.Daniel Stenberg
We do testing of code functions using the test suite instead!
2008-11-13Refactor configure script detection of functions used to set sockets intoYang Tse
non-blocking mode, and decouple function detection from function capability.
2008-11-13- Fixed a potential data loss in Curl_client_write() when the transfer isMichal Marek
paused.
2008-11-13changed to latest libidn version.Gunter Knauf
2008-11-13changed defines to make autobuild logs display libidn usage.Gunter Knauf
2008-11-11- Rainer Canavan filed bug #2255627Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2255627) which pointed out that a program using libcurl's multi interface to download a HTTPS page with a libcurl built powered by OpenSSL, would easily get silly and instead hand over SSL details as data instead of the actual HTTP headers and body. This happened because libcurl would consider the connection handshake done too early. This problem was introduced at September 22nd 2008 with my fix of the bug #2107377 The correct fix is now instead done within the GnuTLS-handling code, as both the OpenSSL and the NSS code already deal with this situation in similar fashion. I added test case 560 in an attempt to verify this fix, but unfortunately it didn't trigger it even before this fix!
2008-11-11updated OpenSSL version.Gunter Knauf
2008-11-11added libidn build.Gunter Knauf
2008-11-11updated coment, updated OpenSSL version.Gunter Knauf
2008-11-11added libidn build.Gunter Knauf
2008-11-11Related with bug #2230535 (http://curl.haxx.se/bug/view.cgi?id=2230535)Yang Tse
Daniel Fandrich noticed that curl_addrinfo was also missing in the build process of other four non-configure platforms. Added now.
2008-11-07The getifaddrs() version of Curl_if2ip() crashed when used on a LinuxDan Fandrich
system with a TEQL load-balancing device configured, which doesn't have an address. Thanks to Adam Sampson for spotting this (bug #2234923).
2008-11-06Add missing curl_addrinfo, and sort the list.Yang Tse
2008-11-06Merged existing IPv4 and IPv6 Curl_ip2addr functions into a single oneYang Tse
which now also takes a protocol address family argument.
2008-11-06Factored out some common code into a new function output_auth_headersDan Fandrich
2008-11-05corrected and clarified the *_SPEED_LARGE commentsDaniel Stenberg
2008-11-04CURLINFO_FILETIME now works for file:// transfers as wellDaniel Stenberg
2008-11-03- Bug #2218480 (http://curl.haxx.se/bug/view.cgi?id=2218480) pointed out aDaniel Stenberg
problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL pointer read. I also took the opportunity to clean up this logic (storing of the connection's IP address) somewhat as we had it stored in two different places and ways previously and they are now unified.
2008-11-03Added '#define HAVE_GETNAMEINFO' and qualifiers/typesGisle Vanem
for it.
2008-11-03djgpp/DOS does have getaddrinfo().Gisle Vanem
2008-11-03fix length of longest IPv6 address stringYang Tse
2008-11-03I liked Daniel Johnson's simplified version bumper guide so I modified theDaniel Stenberg
instruction in the comments to use that instead! Original mail: http://curl.haxx.se/mail/lib-2008-11/0019.html
2008-11-02Marked with TODO comments a number of problems in the Kerberos code detectedDan Fandrich
while investigating the issue in http://curl.haxx.se/mail/lib-2008-09/0262.html I'm hesitant to fix them because I have no way of testing the result.
2008-11-01Daniel Johnson reported and fixed ipv4 name resolves when libcurl is builtDaniel Stenberg
with ipv6-enabled c-ares
2008-11-01bump VERSIONINFO for the upcoming releaseDaniel Stenberg
2008-11-01Adjust WIN32 freeaddrinfo, getaddrinfo and getnameinfo availabilityYang Tse
2008-11-01WIN32 availability of freeaddrinfo, getaddrinfo and getnameinfo functions is ↵Yang Tse
quite convoluted, compiler dependant and in some cases even build target dependat.
2008-11-01init_resolve_thread() needs 'hints' on the native form.Gisle Vanem
2008-11-01Added '#define HAVE_GETADDRINFO'.Gisle Vanem
2008-11-01Added curl_addrinfo.obj. Rearranged alphabetically.Gisle Vanem
2008-11-01Fix typos.Gisle Vanem
2008-10-30NetWare LIBC target has getaddrinfo() and freeaddrinfo()Yang Tse
2008-10-30Move 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-30remove bogus whitespaceYang Tse
2008-10-30These two variables are now Curl_addrinfo pointersYang Tse
2008-10-30remove bogus commentYang Tse
2008-10-30Use our Curl_addrinfo definition even when an addrinfo struct is available.Yang Tse
Use a wrapper function to call system's getaddrinfo().
2008-10-29Fixed a bug that caused a few bytes of garbage to be sent after aDan Fandrich
curl_easy_pause() during a chunky upload. Reported by Steve Roskowski.
2008-10-28added an extra set of braces to unconfuse emacs and then I re-indented aDaniel Stenberg
section of the code that was odd-looking previously
2008-10-27add null-pointer checkYang Tse
2008-10-25add missing header inclusionsYang Tse
2008-10-25Added experimental support for zlib and OpenSSL on Symbian OS.Dan Fandrich
2008-10-25add missing header inclusionsYang Tse
2008-10-24Stop using in6addr_any because it's not available everywhere (e.g. Symbian)Dan Fandrich
and isn't strictly needed here.
2008-10-24fix compiler warningYang Tse