aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-10-22Changed some arrays of char* to arrays of char[] to reduce data size andDan Fandrich
run-time relocations.
2008-10-21Compile away some more code in the CURL_DISABLE_PROXY case.Dan Fandrich
2008-10-21Fixed some problems with SFTP range support to fix test cases 634 through 637.Dan Fandrich
2008-10-20remove debug-code which zero-filled some structures before free()ing themYang Tse
2008-10-20A few prototypes shouldn't be defined if SSL is disabled.Dan Fandrich
2008-10-20*** empty log message ***Yang Tse
2008-10-20added a NULL pointer check for the name field as it can in fact be NULL whenDaniel Stenberg
dereferenced here, if the app passes in a funny combo. Detected by coverity.com
2008-10-19fix compiler warningYang Tse
2008-10-19oopsYang Tse
2008-10-19attempt to fix or allow further detection of an elusive icc SIGSEGVYang Tse
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.