aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-10-16don't segfault when NULL is passed in to CURLOPT_USERPWD orDaniel Stenberg
CURLOPT_PROXYUSERPWD
2008-10-16- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that thenDaniel Stenberg
make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding these new options is that they have no problems with the colon separator that the CURLOPT_PROXYUSERPWD option does.
2008-10-16Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper functionDaniel Stenberg
used in strequal.c so now all test cases run fine for me again.
2008-10-16Curl_ascii_equal() must not assume that the string is actually ASCII (so ↵Daniel Stenberg
that a-z are consecutive and with a 0x20 "distance" to the uppercase letter), since we do support EBCDIC as well. Thus I replaced the macro with a (larger) switch case. I better change the function name...
2008-10-15fix warningDaniel Stenberg
2008-10-15- Pascal Terjan filed bug #2154627Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl uses strcasecmp() in multiple places where it causes failures when the Turkish locale is used. This is because 'i' and 'I' isn't the same letter so strcasecmp() on those letters are different in Turkish than in English (or just about all other languages). I thus introduced a totally new internal function in libcurl (called Curl_ascii_equal) for doing case insentive comparisons for english-(ascii?) style strings that thus will make "file" and "FILE" match even if the Turkish locale is selected.
2008-10-15removed the proto as well since the function is now goneDaniel Stenberg
2008-10-15remove Curl_strcasestr() since there is no code at all using this function!Daniel Stenberg
2008-10-15- John Wilkinson filed bug #2155496Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2155496) pointing out an error case without a proper human-readable error message. When a read callback returns a too large value (like when trying to return a negative number) it would trigger and the generic error message then makes the proplem slightly different to track down. I've added an error message for this now.
2008-10-14fix compiler warningYang Tse
2008-10-13Removed superfluous check of clist->name, as in this code path that pointerDaniel Stenberg
has already been dereferenced so it is bound to be valid. Pointed out to us by coverity.com
2008-10-13attempt to fix or allow further detection of an elusive icc SIGSEGVYang Tse
2008-10-13There's no guarantee that a socket was involved at this point, so avoid ↵Yang Tse
displaying any error code. And on the other hand a message after setsockopt() certainly must use SOCKERRNO.
2008-10-12Changed Curl_strlcat to strlcat, which is the one guaranteed to existDan Fandrich
2008-10-11fix compiler warningYang Tse
2008-10-11fix compiler warning: explicit conversion of a 64-bit integral type to a ↵Yang Tse
smaller integral type
2008-10-10Fixed some compiler warnings with CURL_DISABLE_HTTPDan Fandrich
2008-10-10attempt to fix or allow further detection of an elusive icc SIGSEGVYang Tse
2008-10-10_ Adapt OS400 EBCDIC wrappers to new options.Patrick Monnerat
_ Update RPG binding accordingly. _ Fix new options comments.
2008-10-10Allow compilation when no IPv6 stack is available.Dan Fandrich
2008-10-10move struct namebuf6 declaration out of Curl_ip2addr6()Yang Tse
2008-10-10fix compiler warningYang Tse
2008-10-09Get rid of some more code in the CURL_DISABLE_HTTP caseDan Fandrich
2008-10-09I replaced the use of 'struct tm' with a private clone of that struct simplyDaniel Stenberg
because the struct is declared on the stack and not all members are used so we could just as well make struct with only struct members we actually need.
2008-10-09Fixed the --interface option to work with IPv6 connections on glibcDan Fandrich
systems supporting getifaddrs(). Also fixed a problem where an IPv6 address could be chosen instead of an IPv4 one for --interface when it involved a name lookup.
2008-10-08- Bug #2152270 (http://curl.haxx.se/bug/view.cgi?id=2152270) identified andDaniel Stenberg
fixed a CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing: Any subsequent transfer with a redirect leaks memory, eventually crashing the process potentially. Any subsequent transfer WITHOUT a redirect causes the most recent redirect that DID occur on some previous transfer to still be reported.
2008-10-08- Igor filed bug #2111613 (http://curl.haxx.se/bug/view.cgi?id=2111613) thatDaniel Stenberg
eventually identified a flaw in how the multi_socket interface in some cases missed to call the timeout callback when easy interfaces are removed and added within the same millisecond.
2008-10-08Fixed a memory leak in the new CURLOPT_USERPWD handlingDan Fandrich
2008-10-08fix missing null-pointer checkYang Tse
2008-10-08- Igor Novoseltsev brought a patch that introduced two new options toDaniel Stenberg
curl_easy_setopt: CURLOPT_USERNAME and CURLOPT_PASSWORD that sort of deprecates the good old CURLOPT_USERPWD since they allow applications to set the user name and password independently and perhaps more importantly allow both to contain colon(s) which CURLOPT_USERPWD doesn't fully support.
2008-10-08Added const to some pointer variablesDan Fandrich
2008-10-07Split off Curl_isxdigit functionDan Fandrich
2008-10-07Changed the handling of read/write errors in Curl_perform() to allow aDan Fandrich
a fresh connection to be made in such cases and the request retransmitted. This should fix test case 160. Added test case 1079 in an attempt to test a similar connection dropping scenario, but as a race condition, it's hard to test reliably.
2008-10-07- Fixed CURLINFO_PRIMARY_IP: When libcurl created a connection to host A thenDaniel Stenberg
the app re-used the handle to do a connection to host B and then again re-used the handle to host A, it would not update the info with host A's IP address (due to the connection being re-used) but it would instead report the info from host B.
2008-10-07fix compiler warning: dereferencing type-punned pointer will break ↵Yang Tse
strict-aliasing rules
2008-10-03fix another error introduced in previously mentioned commitYang Tse
2008-10-03fix error introduced in previous commitYang Tse
2008-10-02take 2 at fixing compiler warning: argument might be clobbered by `longjmp' ↵Yang Tse
or `vfork'
2008-10-02fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork'Yang Tse
2008-10-02fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork'Yang Tse
2008-10-01Fixed some compiler warnings with gccDan Fandrich
2008-09-30fix compiler warning: declaration of 'err' shadows a previous localYang Tse
2008-09-30fix compiler warning: function declaration isn't a prototypeYang Tse
2008-09-30fix compiler warning: enumerated type mixed with another typeYang Tse
2008-09-30- The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZEDaniel Stenberg
gets a 550 response back for the cases where a download (or NOBODY) is wanted. It still allows a 550 as response if the SIZE is used as part of an upload process (like if resuming an upload is requested and the file isn't there before the upload). I also modified the FTP test server and a few test cases accordingly to match this modified behavior.
2008-09-29Fixed a couple of compile warnings.Dan Fandrich
2008-09-29Made the month days table static constDan Fandrich
2008-09-29Fixed a compile problem with --disable-proxyDan Fandrich
2008-09-29- Daniel Egger provided a patch that allows you to disable proxy support inDaniel Stenberg
libcurl to somewhat reduce the size of the binary. Run configure --disable-proxy.
2008-09-29Removed unneeded includes of signal.h and setjmp.hDan Fandrich