Yang Tse
6bd91936ff
remove debug-code which zero-filled some structures before free()ing them
2008-10-20 23:24:35 +00:00
Dan Fandrich
035a2e5479
A few prototypes shouldn't be defined if SSL is disabled.
2008-10-20 23:07:48 +00:00
Yang Tse
6983ba3225
*** empty log message ***
2008-10-20 23:05:52 +00:00
Daniel Stenberg
77e028d620
All the coverity.com issues have no been taken care of.
2008-10-20 21:59:36 +00:00
Daniel Stenberg
0bb91218c5
added a NULL pointer check for the name field as it can in fact be NULL when
...
dereferenced here, if the app passes in a funny combo. Detected by coverity.com
2008-10-20 21:56:35 +00:00
Yang Tse
231a51fe7a
some more temporary magic for the icc seg-fault issue
2008-10-20 15:56:08 +00:00
Yang Tse
8d0cbaf8df
messages initially intended only for debug purposes, now become permanent
...
since these are extremely useful when compiler rejects a set of options.
2008-10-19 23:50:18 +00:00
Yang Tse
b843c27322
fix compiler warning
2008-10-19 22:46:54 +00:00
Daniel Stenberg
2688cf343b
Fixed potential memory leak in OOM situations. Detected by coverity.com
2008-10-19 21:00:40 +00:00
Yang Tse
b416b87518
oops
2008-10-19 20:41:03 +00:00
Daniel Stenberg
3f1b9f095a
dumpeasycode() uses warnf() which uses config->errors so we must not close
...
that before dumpeasycode() is called. Found by coverity.com
2008-10-19 20:37:24 +00:00
Daniel Stenberg
8a6eeb82c5
Removed dead code, identified by coverity.com.
2008-10-19 20:28:41 +00:00
Yang Tse
5779283a52
attempt to fix or allow further detection of an elusive icc SIGSEGV
2008-10-19 20:17:16 +00:00
Daniel Stenberg
80d0dcc9a3
clarified an argument's situation due to a false positive alert pointed out
...
by coverity.com
2008-10-19 18:20:47 +00:00
Dan Fandrich
d51ad518c4
Fixed a compiler warning in the CURL_DISABLE_HTTP case
2008-10-19 04:48:15 +00:00
Yang Tse
29ba1730ca
attempt to fix compiler warning relative to potential misaligned data access
2008-10-19 01:02:18 +00:00
Dan Fandrich
183210619d
Removed some more code in the CURL_DISABLE_HTTP case
2008-10-18 01:23:14 +00:00
Dan Fandrich
feff911fb7
Removed a line of dead code (discovered by Coverity)
2008-10-18 01:17:27 +00:00
Dan Fandrich
8eee5f3253
Forgot it's a struct
2008-10-17 22:33:08 +00:00
Dan Fandrich
3e55fef5e1
Fixed a compile error reported by Albert Chin on AIX and IRIX when using
...
GTLS.
2008-10-17 22:23:48 +00:00
Yang Tse
63397e380f
fix compiler warning
2008-10-17 19:04:53 +00:00
Yang Tse
07c3aaeea1
fix missing double-quotes
2008-10-17 17:11:11 +00:00
Yang Tse
8254bbae56
protect against 'use after free' or race condition
2008-10-17 15:29:35 +00:00
Yang Tse
e7886aa9b4
oops ;-)
2008-10-17 13:55:13 +00:00
Yang Tse
fb08868e54
oops
2008-10-17 13:33:13 +00:00
Daniel Stenberg
c141d99059
fix syntax error
2008-10-17 13:23:21 +00:00
Patrick Monnerat
f66e1c49b0
Introduce new options CURLOPT_PROXY{USERNAME, PASSWORD} in OS400 code and RPG binding.
2008-10-17 13:17:41 +00:00
Yang Tse
4acbe8f20c
fix compiler warning
2008-10-17 12:53:53 +00:00
Yang Tse
2ea70a5c73
OOM condition fix
2008-10-17 12:49:02 +00:00
Daniel Stenberg
eb612bfdfc
Charles Hardin made adig support a regular numerical dotted IP address for the
...
-s option as well.
2008-10-17 11:26:36 +00:00
Daniel Stenberg
5e826c78a7
185 - CURLOPT_PROXYUSER etc
...
done!
2008-10-17 08:14:47 +00:00
Daniel Stenberg
a0d906739d
After having studied one of the coverity.com reports at length last night, I
...
decided it was a good idea to properly document my thoughts in a comment near
the code that was identified as a possible flaw. A false positive as far as I
can see.
2008-10-17 06:03:37 +00:00
Yang Tse
98b13037e7
remove some spurious line-endings
2008-10-17 03:59:02 +00:00
Yang Tse
29f09f71b4
portability fix to avoid memory alignment problems
2008-10-17 03:38:36 +00:00
Dan Fandrich
a00b6e258d
Return an error when a proxy option is set when configured with
...
--disable-proxy mode.
Removed some unnecessary prototypes.
2008-10-16 22:56:40 +00:00
Dan Fandrich
7ded272b94
Added missing HTTP proxy and other keywords
2008-10-16 21:34:34 +00:00
Dan Fandrich
1d12b1fa1e
CURLOPT_POST301 => CURLOPT_POSTREDIR
2008-10-16 21:02:38 +00:00
Daniel Stenberg
54582bdce9
don't segfault when NULL is passed in to CURLOPT_USERPWD or
...
CURLOPT_PROXYUSERPWD
2008-10-16 20:43:02 +00:00
Daniel Stenberg
a9a4300a36
- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then
...
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-16 20:21:22 +00:00
Daniel Stenberg
f720e0ac0f
compile the library file strequal.c to get the Curl_raw_equal function as
...
that's not exported by the lib
2008-10-16 18:02:46 +00:00
Daniel Stenberg
a8245df745
mention the openssl requirement for the certinfo data
2008-10-16 12:35:47 +00:00
Daniel Stenberg
86c5d02a5e
correct version number for the certinfo addition
2008-10-16 12:29:32 +00:00
Daniel Stenberg
5af597c2fb
Added CURLINFO_CERTINFO
2008-10-16 11:35:19 +00:00
Daniel Stenberg
dd9e0164d5
I renamed the function
2008-10-16 11:04:53 +00:00
Daniel Stenberg
9d16b4081e
Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper function
...
used in strequal.c so now all test cases run fine for me again.
2008-10-16 08:23:48 +00:00
Daniel Stenberg
545cafce9b
Curl_ascii_equal() must not assume that the string is actually ASCII (so 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-16 07:59:00 +00:00
Yang Tse
fb66d51796
some more temporary magic for the icc seg-fault issue
2008-10-16 01:45:07 +00:00
Daniel Stenberg
5175664174
fix warning
2008-10-15 21:44:49 +00:00
Daniel Stenberg
a579d67064
- Pascal Terjan filed bug #2154627
...
(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-15 21:43:48 +00:00
Yang Tse
be760bed7e
Ensure that shell variable contents which have active meaning
...
to the shell echo command are not interpreted when trying to
remove extra whitespace from shell variable content.
2008-10-15 18:10:02 +00:00