aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-08-21MSVC's __int64 data type is only available when _INTEGRAL_MAX_BITS >= 64Yang Tse
2008-08-21Fix a LONG_MIN and LLONG_MIN related bug in internal m*printf()Yang Tse
2008-08-21Fix one bug detected thanks to test case 557.Yang Tse
2008-08-21Some data type size adjustments.Yang Tse
2008-08-21Get rid of ENABLE_64BIT symbol definition and usage.Yang Tse
Improve HAVE_LONGLONG symbol description.
2008-08-20Added option to use c-ares resolver lib.Yang Tse
2008-08-20Use 'Curl_inet_pton()' instead of 'inet_pton()'.Yang Tse
2008-08-20Simplify condition checkYang Tse
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-17Rewritten to also produce a static library (libcurl_wc.lib).Gisle Vanem
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-17Adjust usage of conditional definition of USE_OPENSSLYang Tse
2008-08-17libcurl internal base64.h header file renamed to curl_base64.hYang Tse
2008-08-17libcurl internal md5.h header file renamed to curl_md5.hYang Tse
2008-08-16Oops, missed FORMAT_OFF_TUYang Tse
2008-08-16Fix Use of conditional definition of USE_OPENSSLYang Tse
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-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-14When using our internal curlx_strtoll function NEED_CURL_STRTOLL must be ↵Yang Tse
defined, the source code of curlx_strtoll is excluded if NEED_CURL_STRTOLL isn't defined.
2008-08-14CURL_LLONG_MIN should now be signedYang Tse
2008-08-13Sync config.h generation from lib/Makefile.netware and src/Makefile.netwareYang 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-13Remved '-dDEBUG_THREADING_GETADDRINFO' (no longer used).Gisle Vanem
2008-08-13Update dependencies.Gisle Vanem
2008-08-13Adjustment due to curl_off_t no longer following off_tYang Tse
2008-08-12Removed unneeded header filesDan Fandrich
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-12Fix 'result' may be used uninitialized in function readwrite_data()Yang Tse
2008-08-12Fix curl_off_t sized constants usageYang Tse
2008-08-12DOS/Windows 'shells' eat echoed percent sign characters unless escaped.Yang Tse
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-11Fix NetWare missing curl_off_t typedef!!Yang Tse
2008-08-11 s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/gYang Tse
2008-08-10fixed creation of curlbuild.h.Gunter Knauf
2008-08-10Fix NetWare curlbuild.hYang Tse
NetWare curlbuild.h settings depend on whether LIBC or CLIB is used. The NetWare specific Makefile is capable of knowing which target is being built. So, finally, the NetWare Makefile will take care of generating curlbuild.h
2008-08-08Refactored Curl_readwrite() into a number of smaller functions.Dan Fandrich
2008-08-08Remove rule no longer needed since tests/testcurl.pl revision 1.63Yang Tse
See CVS commit comment on tests/testcurl.pl revision 1.63
2008-08-08Fixed an uninitialized variable in multi_runsingle() that could cause aDan Fandrich
request to prematurely end.
2008-08-07use CP macro rather than cp command.Gunter Knauf
2008-08-07added rule to create include/curl/curlbuild.h from ↵Gunter Knauf
include/curl/curlbuild.h.dist.
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-06remove debug code I accidentally left in hereDaniel Stenberg
2008-08-06Removed TRACE() code.Gisle Vanem
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-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-01Added support for --append on SFTP uploads. Unfortunately, OpenSSH doesn'tDan Fandrich
support this so it goes untested.