Yang Tse [Thu, 10 Jan 2008 16:19:14 +0000 (16:19 +0000)]
Temporary change to help debugging SSH server verification failures
Daniel Stenberg [Thu, 10 Jan 2008 10:31:01 +0000 (10:31 +0000)]
Two more items done:
109 - curl_easy_pause
110 - seekfunction
Daniel Stenberg [Thu, 10 Jan 2008 10:30:19 +0000 (10:30 +0000)]
Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow
libcurl to seek in a given input stream. This is particularly important when
doing upload resumes when there's already a huge part of the file present
remotely. Before, and still if this callback isn't used, libcurl will read
and through away the entire file up to the point to where the resuming
begins (which of course can be a slow opereration depending on file size,
I/O bandwidth and more). This new function will also be preferred to get
used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when
doing multi-stage HTTP auth with POST/PUT.
Daniel Stenberg [Thu, 10 Jan 2008 09:17:07 +0000 (09:17 +0000)]
Nikitinskit Dmitriy filed bug report #1868255
(http://curl.haxx.se/bug/view.cgi?id=1868255) with a patch. It identifies
and fixes a problem with parsing WWW-Authenticate: headers with additional
spaces in the line that the parser wasn't written to deal with.
Daniel Stenberg [Thu, 10 Jan 2008 09:16:21 +0000 (09:16 +0000)]
corrected comment
Yang Tse [Wed, 9 Jan 2008 19:11:56 +0000 (19:11 +0000)]
fix compiler warning
Yang Tse [Wed, 9 Jan 2008 01:11:59 +0000 (01:11 +0000)]
Fix file Id
Yang Tse [Wed, 9 Jan 2008 00:58:48 +0000 (00:58 +0000)]
Add /usr/freeware/sbin and /usr/freeware/libexec to the ssh binaries
locations search list.
Daniel Stenberg [Tue, 8 Jan 2008 22:15:19 +0000 (22:15 +0000)]
added the --retry problems mention on the curl-library list today
Yang Tse [Tue, 8 Jan 2008 20:12:43 +0000 (20:12 +0000)]
Partially cleanup debugging messages in test harness, introduced for
new minimum SSH version support for SCP, SFTP and SOCKS tests.
Some verbosity which still remains, will go out before next release.
Yang Tse [Tue, 8 Jan 2008 19:18:25 +0000 (19:18 +0000)]
Remove increased loglevel intended to debug autobuild's publickey
authentication failures when using OpenSSH 2.9.9 or SunSSH.
Verified fact: Even when only using publickey authentication,
OpenSSH and SunSSH first validate the user, this implies that
if the user validation fails, 'invalid user', the publickey
authentication will not be allowed to complete.
Daniel Stenberg [Tue, 8 Jan 2008 14:52:05 +0000 (14:52 +0000)]
Introducing curl_easy_pause() and new magic return codes for both the read
and the write callbacks that now can make a connection's reading and/or
writing get paused.
Daniel Stenberg [Tue, 8 Jan 2008 11:11:20 +0000 (11:11 +0000)]
removed 113, both bugs #1850730 and #1854175 are fixed in CVS
Yang Tse [Tue, 8 Jan 2008 01:05:50 +0000 (01:05 +0000)]
Change typecast due to cool.haxx.se/cvs.cgi/curl/include/curl/curl.h.diff?r1=1.336&r2=1.337
Yang Tse [Tue, 8 Jan 2008 00:40:02 +0000 (00:40 +0000)]
Increase loglevel to debug autobuild's publickey authentication
failures when using OpenSSH 2.9.9 or SunSSH
Yang Tse [Tue, 8 Jan 2008 00:39:31 +0000 (00:39 +0000)]
Display ssh server log and configuration upon socks server failure
Dan Fandrich [Mon, 7 Jan 2008 19:54:40 +0000 (19:54 +0000)]
Fixed test description
Patrick Monnerat [Mon, 7 Jan 2008 16:32:49 +0000 (16:32 +0000)]
ILE RPG support update (from include/curl/curl.h)
Daniel Stenberg [Sun, 6 Jan 2008 23:22:06 +0000 (23:22 +0000)]
updated URLs and moved down two issues to the new "less likely" section
Daniel Stenberg [Sun, 6 Jan 2008 21:41:38 +0000 (21:41 +0000)]
more SOCKS5_HOSTNAME adjustments from Richard Atterer
Daniel Stenberg [Sun, 6 Jan 2008 12:56:34 +0000 (12:56 +0000)]
make sure we deal with SOCKS5_HOSTNAME as a proxy type as well
Daniel Stenberg [Sun, 6 Jan 2008 12:56:19 +0000 (12:56 +0000)]
Richard Atterer reverted back what I missed in my previous revert ;-)
Daniel Stenberg [Sun, 6 Jan 2008 12:54:16 +0000 (12:54 +0000)]
make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well
Daniel Stenberg [Sun, 6 Jan 2008 11:10:35 +0000 (11:10 +0000)]
fixed: 116 - bug #1863171, curl_getdate() bug
added: 117 - Eric Landes patch for introducing the --tcp-keep* options
Daniel Stenberg [Sun, 6 Jan 2008 10:50:57 +0000 (10:50 +0000)]
Jeff Johnson filed bug report #1863171
(http://curl.haxx.se/bug/view.cgi?id=1863171) where he pointed out that
libcurl's date parser didn't accept a +1300 time zone which actually is used
fairly often (like New Zealand's Dailight Savings Time), so I modified the
parser to now accept up to and including -1400 to +1400.
Yang Tse [Sun, 6 Jan 2008 02:02:55 +0000 (02:02 +0000)]
Increase MaxAuthTries from 0 to 10. Using a value of 0 is too restrictive
Daniel Stenberg [Sat, 5 Jan 2008 22:04:18 +0000 (22:04 +0000)]
Based on further discussion on curl-library, I reverted yesterday's SOCKS5
code to instead introduce support for a new proxy type called
CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy
instead of IP address and there's thus no longer any need for a new
curl_easy_setopt() option.
The default SOCKS5 proxy is again back to sending the IP address to the
proxy. The new curl command line option for enabling sending host name to a
SOCKS5 proxy is now --socks5-hostname.
Daniel Stenberg [Sat, 5 Jan 2008 21:04:18 +0000 (21:04 +0000)]
Added Daniel Egger and extended the --no-keep-alive description
Daniel Stenberg [Sat, 5 Jan 2008 12:15:41 +0000 (12:15 +0000)]
added keyword
Yang Tse [Sat, 5 Jan 2008 01:39:07 +0000 (01:39 +0000)]
Don't abort operation when attempting to set SO_KEEPALIVE
fails, just issue a warning and ignore the failure.
Dan Fandrich [Fri, 4 Jan 2008 23:57:39 +0000 (23:57 +0000)]
"yes" must be in quotes to be XML compatible
Daniel Stenberg [Fri, 4 Jan 2008 23:55:22 +0000 (23:55 +0000)]
111 - DNS resolve over socks5 is done
added 116 - bug #1863171, curl_getdate() bug
Daniel Stenberg [Fri, 4 Jan 2008 23:31:04 +0000 (23:31 +0000)]
Daniel Egger provided 'nonewline=yes' support for the <stdout> section
Daniel Stenberg [Fri, 4 Jan 2008 23:01:00 +0000 (23:01 +0000)]
Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let the
proxy do the host name resolving and only if --socks5ip (or
CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and
pass on the IP address only to the proxy.
Daniel Stenberg [Fri, 4 Jan 2008 22:16:16 +0000 (22:16 +0000)]
14.3 extend CURLOPT_SOCKOPTFUNCTION prototype
(for next SONAME bump)
Yang Tse [Fri, 4 Jan 2008 19:56:56 +0000 (19:56 +0000)]
Missing newline at end of message
Yang Tse [Fri, 4 Jan 2008 15:39:06 +0000 (15:39 +0000)]
Fix 'format string' compiler warning
Yang Tse [Fri, 4 Jan 2008 14:12:10 +0000 (14:12 +0000)]
'ControlPath' ssh client configuration file option requires OpenSSH 4.2 or
later to accept 'none' as an indication to disable connection multiplexing
Yang Tse [Fri, 4 Jan 2008 13:24:17 +0000 (13:24 +0000)]
SunSSH 1.1 ssh client does not support config file options:
ConnectTimeout
ForwardX11Trusted
HashKnownHosts
RekeyLimit
ServerAliveCountMax
ServerAliveInterval
Yang Tse [Fri, 4 Jan 2008 13:00:40 +0000 (13:00 +0000)]
- Display curl_ssh_config when socks server fails to start.
- Capability of running socks5 tests must be based on ssh daemon version
and not on ssh client version.
Yang Tse [Fri, 4 Jan 2008 03:05:33 +0000 (03:05 +0000)]
Make sure @INC is modified before 'using' the sshhelp module.
Yang Tse [Fri, 4 Jan 2008 03:04:30 +0000 (03:04 +0000)]
'LocalCommand' no longer used for ssh client config file. When used it
requires a non blank argument.
Yang Tse [Thu, 3 Jan 2008 20:48:22 +0000 (20:48 +0000)]
Modify test harness so that the minimum SSH version required to run
SCP, SFTP and SOCKS4 tests is now OpenSSH 2.9.9 or SunSSH 1.0
For SOCKS5 tests minimum versions are OpenSSH 3.7 or SunSSH 1.0
Gisle Vanem [Thu, 3 Jan 2008 15:18:27 +0000 (15:18 +0000)]
'false' and 'true' are not built-ins on most compilers.
Use TRUE/FALSE from setup_once.h.
Daniel Stenberg [Wed, 2 Jan 2008 22:46:15 +0000 (22:46 +0000)]
one gone, one added
Daniel Stenberg [Wed, 2 Jan 2008 22:30:34 +0000 (22:30 +0000)]
- I fixed two cases of missing return code checks when handling chunked
decoding where a write error (or abort return from a callback) didn't stop
libcurl's processing.
Daniel Stenberg [Wed, 2 Jan 2008 22:23:27 +0000 (22:23 +0000)]
I removed the socklen_t use from the public curl/curl.h header and instead
made it an unsigned int. The type was only used in the curl_sockaddr struct
definition (only used by the curl_opensocket_callback). On all platforms I
could find information about, socklen_t is 32 unsigned bits large so I don't
think this will break the API or ABI. The main reason for this change is of
course for all the platforms that don't have a socklen_t definition in their
headers to build fine again. Providing our own configure magic and custom
definition of socklen_t on those systems proved to work but was a lot of
cruft, code and extra magic needed - when this very small change of type seems
harmless and still solves the missing socklen_t problem.
Daniel Stenberg [Wed, 2 Jan 2008 21:40:11 +0000 (21:40 +0000)]
Richard Atterer brought a patch that added support for SOCKS4a proxies, which
is an inofficial PROXY4 variant that sends the hostname to the proxy instead
of the resolved address (which is already supported by SOCKS5). --socks4a is
the curl command line option for it and CURLOPT_PROXYTYPE can now be set to
CURLPROXY_SOCKS4A as well.
Daniel Stenberg [Wed, 2 Jan 2008 21:39:46 +0000 (21:39 +0000)]
updated
Gisle Vanem [Wed, 2 Jan 2008 05:30:52 +0000 (05:30 +0000)]
Added '-d' option for Watt-32 debugging.
Daniel Stenberg [Tue, 1 Jan 2008 21:11:26 +0000 (21:11 +0000)]
Mohun Biswas pointed out that --libcurl generated a source code with an int
function but without a return statement. While fixing that, I also took care
about adding some better comments for the generated code.
Daniel Stenberg [Thu, 27 Dec 2007 21:44:21 +0000 (21:44 +0000)]
--libcurl was added in 7.16.1, a useful information
Daniel Stenberg [Wed, 26 Dec 2007 23:29:35 +0000 (23:29 +0000)]
Dmitry Kurochkin mentioned a flaw
(http://curl.haxx.se/mail/lib-2007-12/0252.html) in detect_proxy() which
failed to set the bits.proxy variable properly when an environment variable
told libcurl to use a http proxy.
Daniel Stenberg [Wed, 26 Dec 2007 21:48:52 +0000 (21:48 +0000)]
In an attempt to repeat the problem in bug report #1850730
(http://curl.haxx.se/bug/view.cgi?id=1850730) I wrote up test case 552. The
test is doing a 70K POST with a read callback and an ioctl callback over a
proxy requiring Digest auth. The test case code is more or less identical to
the test recipe code provided by Spacen Jasset (who submitted the bug report).
Daniel Stenberg [Wed, 26 Dec 2007 21:46:51 +0000 (21:46 +0000)]
what we're having atm
Gunter Knauf [Tue, 25 Dec 2007 13:26:01 +0000 (13:26 +0000)]
added missing semicolon fromn last commit.
Daniel Stenberg [Mon, 24 Dec 2007 23:45:48 +0000 (23:45 +0000)]
Gary Maxwell filed bug report #1856628
(http://curl.haxx.se/bug/view.cgi?id=1856628) and provided a fix for the
(small) memory leak in the SSL session ID caching code. It happened when a
previous entry in the cache was re-used.
Dan Fandrich [Sat, 22 Dec 2007 18:25:43 +0000 (18:25 +0000)]
Use getcwd() to get the directory, which works even if one of the directory
components doesn't have read permission set.
Dan Fandrich [Thu, 20 Dec 2007 21:21:43 +0000 (21:21 +0000)]
Use getcwd() to get the directory, which works even if one of the
directory components doesn't have read permission set.
Dan Fandrich [Wed, 19 Dec 2007 21:19:01 +0000 (21:19 +0000)]
Ensure that nroff doesn't put anything but ASCII characters into the
--manual text.
Yang Tse [Tue, 18 Dec 2007 18:33:24 +0000 (18:33 +0000)]
(curl.haxx.se/mail/archive-2007-12/0039.html) reported and fixed
a file truncation problem on Windows build targets triggered when retrying
a download with curl.
Yang Tse [Tue, 18 Dec 2007 18:08:19 +0000 (18:08 +0000)]
MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP,
and makes wrong asumptions of build target when it isn't specified. So,
if no build target has been defined we will target WinXP when building
with MSVC 9.0 (VS2008).
Yang Tse [Tue, 18 Dec 2007 10:36:32 +0000 (10:36 +0000)]
pollfd struct and WSA_poll fixes for Windows Vista already present in CVS
Daniel Stenberg [Mon, 17 Dec 2007 21:19:42 +0000 (21:19 +0000)]
Mateusz Loskot pointed out that VC++ 9.0 (2008) has the pollfd struct and
defines in the SDK somehow differently so we have to add a define to the
config-win32.h file to make select.h compile nicely.
Daniel Stenberg [Sat, 15 Dec 2007 22:19:08 +0000 (22:19 +0000)]
spell!
Daniel Stenberg [Sat, 15 Dec 2007 22:13:07 +0000 (22:13 +0000)]
Add test 551 that tests callback-post over a proxy that requires Digest auth.
A failed attempt to repeat bug report #1850730 (ie the test works fine).
Daniel Stenberg [Fri, 14 Dec 2007 22:09:15 +0000 (22:09 +0000)]
remove mistaken "-d" from here
Daniel Stenberg [Fri, 14 Dec 2007 11:19:56 +0000 (11:19 +0000)]
-u addition: If you just give the user name (without entering a colon) curl
will prompt for a password. Denis Bredelet pointed out!
Dan Fandrich [Fri, 14 Dec 2007 01:09:45 +0000 (01:09 +0000)]
Added missing <features>
Dan Fandrich [Fri, 14 Dec 2007 01:05:30 +0000 (01:05 +0000)]
Fixed typo in test title
Yang Tse [Thu, 13 Dec 2007 14:39:51 +0000 (14:39 +0000)]
Fix compiler warning
Daniel Stenberg [Thu, 13 Dec 2007 10:00:06 +0000 (10:00 +0000)]
David Wright filed bug report #1849764
(http://curl.haxx.se/bug/view.cgi?id=1849764) with an included fix. He
identified a problem for re-used connections that previously had sent
Expect: 100-continue and in some situations the subsequent POST (that didn't
use Expect:) still had the internal flag set for its use. David's fix (that
makes the setting of the flag in every single request unconditionally) is
fine and is now used!
Daniel Stenberg [Wed, 12 Dec 2007 11:22:15 +0000 (11:22 +0000)]
Gilles Blanc made the curl tool enable SO_KEEPALIVE for the connections and
added the --no-keep-alive option that can disable that on demand.
Daniel Stenberg [Tue, 11 Dec 2007 21:19:38 +0000 (21:19 +0000)]
clarify that the CURLMOPT_TIMERFUNCTION callback can pass in 0 and -1 as legal
values and what they mean
Daniel Stenberg [Tue, 11 Dec 2007 19:34:31 +0000 (19:34 +0000)]
build acountry too
Gisle Vanem [Tue, 11 Dec 2007 17:26:07 +0000 (17:26 +0000)]
Added acountry.c.
Gisle Vanem [Tue, 11 Dec 2007 17:24:43 +0000 (17:24 +0000)]
Added build of acountry.nlm.
Gisle Vanem [Tue, 11 Dec 2007 17:23:18 +0000 (17:23 +0000)]
Added build of acountry.exe.
Gisle Vanem [Tue, 11 Dec 2007 17:22:20 +0000 (17:22 +0000)]
Build acountry.exe. Added 'socklen_t' define.
Gisle Vanem [Tue, 11 Dec 2007 17:21:12 +0000 (17:21 +0000)]
Another sample application that returns country-code and
name from an IPv4-address or host-name. Using the service of
countries.nerd.dk.
Daniel Stenberg [Mon, 10 Dec 2007 22:20:26 +0000 (22:20 +0000)]
grrr, the previous commit was meant to properly make sure that we don't
link any executables when doing debug builds since they kind of assume
symbols provided by libcurl, but it also wrongly included acountry.c
Daniel Stenberg [Mon, 10 Dec 2007 22:19:06 +0000 (22:19 +0000)]
when building
Daniel Stenberg [Mon, 10 Dec 2007 21:42:04 +0000 (21:42 +0000)]
build ahost and adig by default but don't install them
Patrick Monnerat [Mon, 10 Dec 2007 17:09:09 +0000 (17:09 +0000)]
Define new options in OS400 RPG interface
Port OS400 compilation scripts to >= V5R2M0
Gisle Vanem [Mon, 10 Dec 2007 16:14:02 +0000 (16:14 +0000)]
Fix for targets that do have 'struct in6_addr', but which doesn't
define 's6_addr' as a macro.
Daniel Stenberg [Mon, 10 Dec 2007 11:33:46 +0000 (11:33 +0000)]
cut out the number of contributors from this file since it'll always be wrong
Daniel Stenberg [Mon, 10 Dec 2007 10:28:56 +0000 (10:28 +0000)]
5.13 How do I stop an ongoing transfer?
Daniel Stenberg [Sun, 9 Dec 2007 22:31:53 +0000 (22:31 +0000)]
Andrew Moise filed bug report #1847501
(http://curl.haxx.se/bug/view.cgi?id=1847501) and pointed out a memcpy()
that should be memmove() in the convert_lineends() function.
Daniel Stenberg [Sun, 9 Dec 2007 12:26:05 +0000 (12:26 +0000)]
add in toc too
Daniel Stenberg [Sun, 9 Dec 2007 12:22:22 +0000 (12:22 +0000)]
RTMP support?
Daniel Stenberg [Sun, 9 Dec 2007 12:20:06 +0000 (12:20 +0000)]
oops another bad numbering
Daniel Stenberg [Sun, 9 Dec 2007 12:12:52 +0000 (12:12 +0000)]
oops duplicate numbering
Daniel Stenberg [Sun, 9 Dec 2007 12:00:54 +0000 (12:00 +0000)]
slightly rephrased
Gisle Vanem [Sun, 9 Dec 2007 09:58:56 +0000 (09:58 +0000)]
Removed use of '..\lib\libcurl_wc.lib' as this is not really
a static-lib. Renamed 'OBJ_DIR' to 'WC_Win32.obj'.
Gisle Vanem [Sun, 9 Dec 2007 09:44:05 +0000 (09:44 +0000)]
Removed building 'libcurl_wc.lib' as this isn't a static-library
in the common sense. Renamed 'OBJ_DIR' to 'WC_Win32.obj'.
Daniel Stenberg [Sat, 8 Dec 2007 23:01:46 +0000 (23:01 +0000)]
Travelling some 500km by train back and forth on the same day gives you time
to do things you don't otherwise do, but here's the summary of today's work...
Daniel Stenberg [Sat, 8 Dec 2007 23:00:00 +0000 (23:00 +0000)]
reformat to FAQ/CONTRIBUTE style, for nicer web-look when I apply the magic
script(s) on it online
Daniel Stenberg [Sat, 8 Dec 2007 22:58:12 +0000 (22:58 +0000)]
cleanup
Daniel Stenberg [Sat, 8 Dec 2007 22:57:17 +0000 (22:57 +0000)]
fix a crash in oom situations (thanks runtests.pl -t!)
Daniel Stenberg [Sat, 8 Dec 2007 22:56:17 +0000 (22:56 +0000)]
add keywords