aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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.
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-08-01Added more code under #ifndef CURL_DISABLE_HTTP to fix builds withDan Fandrich
--disable-http
2008-08-01Refactored create_conn by breaking it up into many smaller functionsDan Fandrich
2008-08-01Made a parameter constDan Fandrich
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 problems in the IPv6 scope code. First, a host name inDan Fandrich
an URL in a Location: header didn't have the scope ID removed, so an invalid host name was used. Second, when the scope ID was removed, it also removed any port number that may have existed in the URL.
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-30Factored out Curl_copy_header_valueDan Fandrich
2008-07-30Sync comment with reality.Yang Tse
2008-07-30Undo using the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse
2008-07-30Minor Symbian updates.Dan Fandrich
2008-07-30Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOSDan Fandrich
and OS/2.
2008-07-29Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4Dan Fandrich
address in an IPv6 capable libcurl.
2008-07-29ignore *.dist filesYang Tse
2008-07-28Fixed display of the interface bind address in the trace output when it'sDan Fandrich
an IPv6 address.
2008-07-27setup.h handles definition of _REENTRANT based on NEED_REENTRANTYang Tse
definition which might be defined in config.h or config-*.h files
2008-07-27Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4Dan Fandrich
address in an IPv6 capable libcurl.
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-24ignore curllib.vcprojYang Tse
2008-07-22minor reordering in OS/400 config/setup filesYang Tse