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
Dan Fandrich
357383159e
A <precheck> command is considered to have failed if it returns a non-zero
...
return code. This way, if the precheck command can't be run at all for
whatever reason, it's treated as a precheck failure which causes the
test to be skipped.
2008-10-15 17:41:02 +00:00
Daniel Stenberg
0ea1c28135
removed the proto as well since the function is now gone
2008-10-15 11:31:39 +00:00
Daniel Stenberg
36e56f36ad
remove Curl_strcasestr() since there is no code at all using this function!
2008-10-15 09:56:34 +00:00
Daniel Stenberg
0a9984c27e
mention his full name
2008-10-15 07:45:51 +00:00
Daniel Stenberg
0ecdcc253b
- John Wilkinson filed bug #2155496
...
(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-15 07:43:48 +00:00
Daniel Stenberg
1667890172
credit to John Wilkinson
2008-10-15 07:31:31 +00:00
Dan Fandrich
9b3f863cf5
Added signal-based resolver timeout issue
2008-10-14 23:52:36 +00:00
Yang Tse
2f2ed4e40e
Adjust Watcom C warnings:
...
Disable warnings on structure members padding.
2008-10-14 23:06:39 +00:00
Dan Fandrich
3d582304b6
Failing SFTP range tests cases 634 through 637
2008-10-14 22:04:01 +00:00
Daniel Stenberg
996d45df0a
four additional pending issues
2008-10-14 21:20:04 +00:00
Yang Tse
6047635406
With this change Solaris target builds will now be done with _REENTRANT defined.
2008-10-14 18:44:27 +00:00
Yang Tse
e16bccbb91
attempt to fix compiler warning:
...
`variable' might be clobbered by `longjmp' or `vfork'
2008-10-14 17:35:25 +00:00
Yang Tse
9786e7faeb
Adjust Tiny C basic options:
...
Remove -b from debug-enabled configuration, as Tiny C might have
been built without the memory and bounds checker support.
2008-10-14 15:24:02 +00:00
Yang Tse
fde4b823f1
Adjust GCC warnings:
...
Better disable following warnings when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers:
-Wmissing-declarations
-Wmissing-prototypes
-Wunused
-Wshadow
2008-10-14 14:19:34 +00:00
Daniel Stenberg
b7e71a249e
eeek, append 1 on the right place as otherwise we didn't fix the problem
2008-10-14 09:12:44 +00:00
Yang Tse
bf8d642607
fix syntax error
2008-10-14 04:59:22 +00:00
Yang Tse
1fab40bb69
Initial attempt to detect Watcom C compiler
2008-10-14 04:09:07 +00:00
Yang Tse
ad61b58036
fix compiler warning
2008-10-14 02:35:39 +00:00
Daniel Stenberg
b7722e7037
Prevent the accidental passing along NULL for the cases where the --trace
...
options don't succeed in opening the target file etc. Detected by coverity.com
2008-10-13 22:21:01 +00:00
Daniel Stenberg
6c2167b65f
Prevent an off-by-one in a allocated buffer in glob_match_url() - detected by
...
coverity.com
2008-10-13 21:39:12 +00:00
Daniel Stenberg
18be9882f7
Removed superfluous check of clist->name, as in this code path that pointer
...
has already been dereferenced so it is bound to be valid. Pointed out to us
by coverity.com
2008-10-13 21:03:12 +00:00