aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-05-05fix compiler warningYang Tse
2009-05-05I simplified the SSL session id re-use code now to *always* ditch the previousDaniel Stenberg
one and store the current one, as it makes the code less complex and I'm not even sure I can check for the same session id using memcmp() like that.
2009-05-04- Inspired by Michael Smith's session id fix for OpenSSL, I did theDaniel Stenberg
corresponding fix in the GnuTLS code: make sure to store the new session id in case the re-used one is rejected.
2009-05-04- Michael Smith posted bug report #2786255Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2786255) with a patch, identifying how libcurl did not deal with SSL session ids properly if the server rejected a re-use of one. Starting now, it will forget the rejected one and remember the new. This change was for OpenSSL only, it is likely that other SSL lib code needs similar fixes.
2009-05-04David McCreedy's "transfer.c fixes for CURL_DO_LINEEND_CONV and non-ASCII ↵Yang Tse
platform HTTP requests" patch
2009-05-02Use build-time configured curl_socklen_t instead of socklen_tYang Tse
2009-05-01David McCreedy's "http.c fix to Curl_proxyCONNECT for non-ASCII platforms" patchYang Tse
2009-05-01David McCreedy's "TPF-platform specific changes to various files" patchYang Tse
2009-04-30fix compiler warning: unused parameterYang Tse
2009-04-30Use 'unsigned int' instead of size_t attempting to avoid header inclusionYang Tse
2009-04-30NetWare LibC's getpeername() third argument data type is size_tYang Tse
2009-04-29curl_socklen_t NetWare follow-upYang Tse
2009-04-29- Based on bug report #2723219 (http://curl.haxx.se/bug/view.cgi?id=2723219)Daniel Stenberg
I've now made TFTP "connections" not being kept for re-use within libcurl. TFTP is UDP-based so the benefit was really low (if even existing) to begin with so instead of tracking down to fix this problem we instead removed the re-use. I also enabled test case 1099 that I wrote a few days ago to verify that this change fixes the reported problem.
2009-04-28- Constantine Sapuntzakis filed bug report #2783090Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2783090) pointing out that on windows we need to grow the SO_SNDBUF buffer somewhat to get really good upload speeds. http://support.microsoft.com/kb/823764 has the details. Friends confirmed that simply adding 32 to CURL_MAX_WRITE_SIZE is enough.
2009-04-28allow usage of in-tree c-ares when building from outside of the cvs treeYang Tse
2009-04-28- Bug report #2709004 (http://curl.haxx.se/bug/view.cgi?id=2709004) by TimDaniel Stenberg
Chen pointed out how curl couldn't upload with resume when reading from a pipe. This ended up with the introduction of a new return code for the CURLOPT_SEEKFUNCTION callback that basically says that the seek failed but that libcurl may try to resolve the situation anyway. In our case this means libcurl will attempt to instead read that much data from the stream instead of seeking and that way curl can now upload with resume when data is read from a stream!
2009-04-27Add missing cmake files to the tarball (thanks to Richard Atterer's report)Daniel Stenberg
2009-04-26- Bug report #2779733 (http://curl.haxx.se/bug/view.cgi?id=2779733) by SvenDaniel Stenberg
Wegener pointed out that CURLINFO_APPCONNECT_TIME didn't work with the multi interface and provided a patch that fixed the problem!
2009-04-25Further narrow the use of the icc 9.1 optimizer workaround.Yang Tse
Previous workaround proved useful, and finally did not trigger any warning!
2009-04-24- Kamil Dudka fixed another NSS-related leak when client certs were used.Daniel Stenberg
2009-04-24Try a simpler variation of the 'volatile' variables icc 9.1 on unix IA32 ↵Yang Tse
workaround. Previous workaround proved useful, but triggered the following warning: warning #556: a value of type "volatile Curl_addrinfo *" cannot be assigned to an entity of type "Curl_addrinfo *"
2009-04-23Try another variation of the 'volatile' variables icc 9.1 on unix IA32 ↵Yang Tse
workaround. The #pragma optimize("", off) attempt did not fix the problem and SIGSEGV's in Curl_freeaddrinfo() were back.
2009-04-23Added new libcurl source files to Amiga, RiscOS and VC6 build files.Dan Fandrich
2009-04-22Disable optimizations when compiling function Curl_freeaddrinfo() with icc ↵Yang Tse
9.1 on unix IA32. Previous 'volatile' variables workaround proved useful, but it triggered the following warning: warning #167: argument of type "volatile Curl_addrinfo *" is incompatible with parameter of type "void *"
2009-04-21libcurl's memory.h renamed to curl_memory.hYang Tse
2009-04-21Moved potential inclusion of system's malloc.h and memory.h header files toYang Tse
setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively.
2009-04-21remove unnecessary typecastYang Tse
2009-04-20- Leanic Lefever reported a crash and did some detailed research on why andDaniel Stenberg
how it occurs (http://curl.haxx.se/mail/lib-2009-04/0289.html). The conclusion was that if an error is detected and Curl_done() is called for the connection, ftp_done() could at times return another error code that then would take precedence and that new code confused existing logic that works for the first error code (CURLE_SEND_ERROR) only.
2009-04-19attempt to workaround icc 9.1 optimizer induced problemYang Tse
2009-04-18Added 'slist.obj'.Gisle Vanem
2009-04-18Added HAVE_LIMITS_H.Gisle Vanem
2009-04-17- Pramod Sharma reported and tracked down a bug when doing FTP over a HTTPDaniel Stenberg
proxy. libcurl would then wrongly close the connection after each request. In his case it had the weird side-effect that it killed NTLM auth for the proxy causing an inifinite loop! I added test case 1098 to verify this fix. The test case does however not properly verify that the transfers are done persistently - as I couldn't think of a clever way to achieve it right now - but you need to read the stderr output after a test run to see that it truly did the right thing.
2009-04-17further narrow the use of the icc 9.1 optimizer workaroundYang Tse
2009-04-16attempt to workaround icc 9.1 optimizer induced problemYang Tse
2009-04-15moved HAVE_LIMITS_H to common defines (no idea why I didnt this initially ↵Gunter Knauf
already)
2009-04-14HAVE_LIMITS_H definition for NetWare CLIBYang Tse
2009-04-14first take at bundling cmake-related files in the tarballDaniel Stenberg
2009-04-14use HAVE_LIMITS_H symbol to protect limits.h inclusionYang Tse
2009-04-14include <limits.h> for INT_MAX definitionYang Tse
2009-04-14fix compiler warning: implicit conversion shortens 64-bit value into a ↵Yang Tse
32-bit value
2009-04-14Kamil Dudka's follow-up fixDaniel Stenberg
2009-04-13- bug report #2727981 (http://curl.haxx.se/bug/view.cgi?id=2727981) by MartinDaniel Stenberg
Storsjo pointed out how setting CURLOPT_NOBODY to 0 could be downright confusing as it set the method to either GET or HEAD. The example he showed looked like: curl_easy_setopt(curl, CURLOPT_PUT, 1); curl_easy_setopt(curl, CURLOPT_NOBODY, 0); The new way doesn't alter the method until the request is about to start. If CURLOPT_NOBODY is then 1 the HTTP request will be HEAD. If CURLOPT_NOBODY is 0 and the request happens to have been set to HEAD, it will then instead be set to GET. I believe this will be less surprising to users, and hopefully not hit any existing users badly.
2009-04-13- Toshio Kuratomi reported a memory leak problem with libcurl+NSS that turnedDaniel Stenberg
out to be leaking cacerts. Kamil Dudka helped me complete the fix. The issue is found in Redhat's bug tracker: https://bugzilla.redhat.com/show_bug.cgi?id=453612 There are still memory leaks present, but they seem to have other reasons.
2009-04-13fix compiler warning: implicit conversion shortens 64-bit value into a ↵Yang Tse
32-bit value
2009-04-11Added new libcurl source files to Symbian OS build files.Dan Fandrich
Improved Symbian support for SSL.
2009-04-11Use 'curl_socket_t' instead of 'int' for socket.Yang Tse
Avoid unnecessary'if-else' nesting.
2009-04-11fix compiler warning: enumerated type mixed with another typeYang Tse
2009-04-09Cleaned up the custom definition I added (replaced by CURL_STATICLIB)Benoit Neil
2009-04-09some minor Makefile tweaks for latest libssh2.Gunter Knauf
2009-04-08Fixed missing HAVE_PROCESS_H (caused a warning)Benoit Neil