aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-10-19clarified an argument's situation due to a false positive alert pointed outDaniel Stenberg
by coverity.com
2008-10-19Fixed a compiler warning in the CURL_DISABLE_HTTP caseDan Fandrich
2008-10-19attempt to fix compiler warning relative to potential misaligned data accessYang Tse
2008-10-18Removed some more code in the CURL_DISABLE_HTTP caseDan Fandrich
2008-10-18Removed a line of dead code (discovered by Coverity)Dan Fandrich
2008-10-17Forgot it's a structDan Fandrich
2008-10-17Fixed a compile error reported by Albert Chin on AIX and IRIX when usingDan Fandrich
GTLS.
2008-10-17protect against 'use after free' or race conditionYang Tse
2008-10-17oops ;-)Yang Tse
2008-10-17oopsYang Tse
2008-10-17fix syntax errorDaniel Stenberg
2008-10-17fix compiler warningYang Tse
2008-10-17OOM condition fixYang Tse
2008-10-17remove some spurious line-endingsYang Tse
2008-10-17portability fix to avoid memory alignment problemsYang Tse
2008-10-16Return an error when a proxy option is set when configured withDan Fandrich
--disable-proxy mode. Removed some unnecessary prototypes.
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.