aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
AgeCommit message (Collapse)Author
2008-08-21Fixed a couple of bugs in libcurl's internal curl_m*printf() functions.Yang Tse
2008-08-20Update of lib/Makefile.Watcom.Yang Tse
2008-08-20Added an edited version of Vincent Le Normand's documentation of SFTP quoteDan Fandrich
commands to the man pages.
2008-08-20- Phil Pellouchoud pointed out that the windows version of libcurl had aDaniel Stenberg
memory leak because it never called the OpenSSL function CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a missing define in config-win32.h!
2008-08-18Added test case 557 to verify libcurl's internal curl_m*printf() functionsYang Tse
formatting functionality when handling signed and unsigned longs, as well as our curl_off_t data type.
2008-08-17OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectoryYang Tse
when including the OpenSSL header files. This is the recommended setting, this prevents the undesired inclusion of header files with the same name as those of OpenSSL but which do not belong to the OpenSSL package. The visible change from previously released libcurl versions is that now OpenSSl enabled NetWare builds also define USE_OPENSSL in config files, and that OpenSSL header files must be located in a subdirectory named 'openssl'.
2008-08-16Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TUYang Tse
remain in use as internal curl_off_t print formatting strings for the internal *printf functions which still cannot handle print formatting string directives such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and other DOS/Windows compilers. This reverts previous commit part which did: FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
2008-08-15Added test case 1065 to test a PUT with a single file but two URLs. ThisDan Fandrich
was discovered to be problematic while investigating an incident reported by Von back in May. curl in this case doesn't include a Content-Length: or Transfer-Encoding: chunked header which is illegal. This test case is added to DISABLED until a solution is found.
2008-08-15For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,Yang Tse
the names of the curl_off_t formatting string directives now become CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU. CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Remove the use of an internal name for the curl_off_t formatting string directives and use the common one available from the inside and outside of the library. FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
2008-08-13Remove first version of comment not intended to be finally committed.Yang Tse
2008-08-13The size of long is a build time characteristic and as such it is now recordedYang Tse
in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems.
2008-08-12Fixed a buffer overflow problem in Curl_proxyCONNECT that could occurDan Fandrich
when a server responded with long headers and data. Luckily, the buffer overflowed into another unused buffer, so no actual harm was done. Added test cases 1060 and 1061 to verify.
2008-08-12- Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnelDaniel Stenberg
_directory_ if that happened to appear in the path!
2008-08-12Added macros for minimum-width signed and unsigned curl_off_t integerYang Tse
constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro used internally to provide its functionality is thanks to Lars Nilsson.
2008-08-11Fixed a boundary condition error in ftp_readresp() whereby a non-terminalDan Fandrich
line of a multiline FTP response whose last byte landed exactly at the end of the BUFSIZE-length buffer would be treated as the terminal response line. The following response code read in would then actually be the end of the previous response line, and all responses from then on would correspond to the wrong command. Test case 1062 verifies this. Stop closing a never-opened ftp socket.
2008-08-11- Constantine Sapuntzakis filed bug report #2042430Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows SSPI code is not thread safe". This was due to libcurl using static variables to tell wether to load the necessary SSPI DLL, but now the loading has been moved to the more suitable curl_global_init() call.
2008-08-11- Constantine Sapuntzakis filed bug report #2042440Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2042440) with a patch. He identified a problem when using NTLM over a proxy but the end-point does Basic, and then libcurl would do wrong when the host sent "Connection: close" as the proxy's NTLM state was erroneously cleared.
2008-08-11Added missing signed and unsigned curl_off_t integer constant suffixes forYang Tse
internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU.
2008-08-08Added test1059 to test the FTP proxy tunnel problem fixed July 11.Dan Fandrich
2008-08-08Fixed an uninitialized variable in multi_runsingle() that could cause aDan Fandrich
request to prematurely end.
2008-08-07Remove last adjustment done to testcurl.pl to verify if change introduced byYang Tse
Guenter Knauf in lib/Makefile.netware is enough to get the netware autobuilds going again.
2008-08-07Adjust testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.hYang Tse
for non-configure targets when host system doesn't run buildconf.bat.
2008-08-07Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.Yang Tse
2008-08-07Prevent buildconf from removing 'Makefile' and 'missing' files. This would blowYang Tse
away our CVS checked 'missing' file and also CVS checked 'hiper/Makefile'.
2008-08-07Fix CURL_CHECK_DEF so that when the expansion of the preprocessor symbol resultsYang Tse
in a set of double-quoted strings, this macro will now return an expansion which consists of a single double-quoted string result of concatenating all of them.
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-08-05Validate that autom4te and autoconf versions match.Yang Tse
Validate that aclocal and automake versions match. Improve removal of previous run generated files. Remove verbose debug logging of aclocal on Solaris.
2008-08-04- Yehoshua Hershberg found a problem that would make libcurl re-use aDaniel Stenberg
connection with the multi interface even if a previous use of it caused a CURLE_PEER_FAILED_VERIFICATION to get returned. I now make sure that failed SSL connections properly close the connections.
2008-08-04- Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 andDaniel Stenberg
proved how PUT and POST with a redirect could lead to a "hang" due to the data stream not being rewound properly when it had to in order to get sent properly (again) to the subsequent URL. This is now fixed and these test cases are no longer disabled.
2008-08-04Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.Yang Tse
Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. But, autoconf 2.62 version of AC_AIX defines _ALL_SOURCE along with other four preprocessor symbols no matter if the system is AIX or not. To keep the traditional behaviour, as well as an uniform one, across autoconf versions AC_AIX is replaced with our own internal macro.
2008-08-03- Test case 1041 (added by Daniel Fandrich April 14th) proved a bug where PUTDaniel Stenberg
with -C - sent garbage in the Content-Range: header. I fixed this problem by making sure libcurl always sets the size of the _entire_ upload if an app attemps to do resumed uploads since libcurl simply cannot know the size of what is currently at the server end. Test 1041 is no longer disabled.
2008-08-03refer to the new option by its real nameDaniel Stenberg
2008-08-02No longer test availability of the gdi32 library, nor use it for linking, evenYang Tse
when we have been doing this since revision 1.47 of configure.ac 4 years and 5 months ago when cross-compiling a Windows target. We actually don't use any function from the Windows GDI (Graphics Device Interface) related with drawing or graphics-related operations.
2008-08-01Added support for --append on SFTP uploads. Unfortunately, OpenSSH doesn'tDan Fandrich
support this so it goes untested.
2008-08-01Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it hasYang Tse
not been in use since revision 1.81 of configure.in 6 years, 9 months ago.
2008-08-01Sync up with realityYang Tse
2008-08-01User names embedded in proxy URLs without a password were parsedDan Fandrich
incorrectly--the host name is treated as part of the user name and the port number becomes the password. This can be observed in test 279 (was KNOWN_ISSUE #54).
2008-07-31Fixed a problem with any FTP URL or any URLs containing an IPv6 addressDan Fandrich
being mangled when passed to proxies when CURLOPT_PORT is also set (reported by Pramod Sharma).
2008-07-31Fixed parsing of an IPv6 proxy address to support a scope identifier,Dan Fandrich
as well as IPv4 addresses in IPv6 format. Also, better handle the case of a malformatted IPv6 address (avoid empty and NULL strings).
2008-07-31Fixed a couple of buffer overflows in the MS-DOS port of the curl tool.Dan Fandrich
Factored out unslashquote. Added some 'const's in function parameters.
2008-07-30- Phil Blundell added the CURLOPT_SCOPE option, as well as adjusted the URLDaniel Stenberg
parser to allow numerical IPv6-addresses to be specified with the scope given, as per RFC4007 - with a percent letter that itself needs to be URL escaped. For example, for an address of fe80::1234%1 the HTTP URL is: "http://[fe80::1234%251]/"
2008-07-30- PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies aDaniel Stenberg
true bug in libcurl built with OpenSSL. It made curl_easy_getinfo() more or less always return 0 for CURLINFO_SSL_VERIFYRESULT because the function that would set it to something non-zero would return before the assign in almost all error cases. The internal variable is now set to non-zero from the start of the function only to get cleared later on if things work out fine.
2008-07-30Added test cases 1052 through 1055 to test uploading data from filesDan Fandrich
during redirects. Test cases 1052 and 1055 show problems (maybe the same root cause as 1051) and are disabled.
2008-07-30Added test case 1051 to test Location: following with PUT, as reportedDan Fandrich
by Ben Sutcliffe. The test when run manually shows a problem in curl, but the test harness web server doesn't run the test correctly so it's disabled for now.
2008-07-30Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOSDan Fandrich
and OS/2.
2008-07-29Added test case 1050 to test --ftp-port with an IPv6 address.Dan Fandrich
Made --interface tests less restrictive on host address.
2008-07-28Added test cases 1045 through 1049 as simple tests of --interface using theDan Fandrich
localhost interface.
2008-07-27Added feature in runtests.pl to select tests based on key word.Dan Fandrich
2008-07-26- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to bufferDaniel Stenberg
overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two problems, and providing the fix for them: - CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is designed for but paused _receiving_ of data! - libcurl didn't internally set the read counter to zero when this return code was detected, which would potentially lead to junk getting sent to the server.
2008-07-26Added test 1044 to test large file support in ftp with -I.Dan Fandrich