Yang Tse [Sun, 20 Jan 2008 22:53:56 +0000 (22:53 +0000)]
use internal *printf() clones since snprintf() not available on all platforms
Daniel Stenberg [Sun, 20 Jan 2008 11:29:30 +0000 (11:29 +0000)]
Judson provided an example, and the added mirror adds the count
Daniel Stenberg [Sun, 20 Jan 2008 11:12:11 +0000 (11:12 +0000)]
This is a multi threaded application that uses a progress bar to show
status. It uses Gtk+ to make a smooth pulse. Written by Jud Bishop
Daniel Stenberg [Sun, 20 Jan 2008 11:07:43 +0000 (11:07 +0000)]
curl.very-clever.com/ is a new mirror in Nuremberg, Germany
Yang Tse [Sun, 20 Jan 2008 04:05:25 +0000 (04:05 +0000)]
Also disable GSSAPIAuthentication for the test harness ssh client
Daniel Stenberg [Sat, 19 Jan 2008 11:33:06 +0000 (11:33 +0000)]
added a (sample) target for 64bit msvc builds
Daniel Stenberg [Sat, 19 Jan 2008 10:30:15 +0000 (10:30 +0000)]
rephrased the --socks5-hostname help output somewhat
Daniel Stenberg [Sat, 19 Jan 2008 10:14:45 +0000 (10:14 +0000)]
Dmitry Kurochkin fixed test case 530 (pipelining)
Daniel Stenberg [Fri, 18 Jan 2008 21:51:10 +0000 (21:51 +0000)]
Lau Hang Kin found and fixed a problem with the multi interface when doing
CONNECT over a proxy. curl_multi_fdset() didn't report back the socket
properly during that state, due to a missing case in the switch in the
multi_getsock() function.
Yang Tse [Fri, 18 Jan 2008 09:18:59 +0000 (09:18 +0000)]
fix failure to properly detect SSH and SOCKS servers start up on loaded systems
Yang Tse [Fri, 18 Jan 2008 05:58:00 +0000 (05:58 +0000)]
to actually allow really big HTTP POSTs curl's postfieldsize type is changed to
curl_off_t and CURLOPT_POSTFIELDSIZE_LARGE is used to pass value to libcurl
Daniel Stenberg [Thu, 17 Jan 2008 22:43:29 +0000 (22:43 +0000)]
curl-java 0.2.1
Daniel Stenberg [Thu, 17 Jan 2008 21:46:21 +0000 (21:46 +0000)]
the java binding is not really maintained
Yang Tse [Thu, 17 Jan 2008 18:57:50 +0000 (18:57 +0000)]
Don't abort tests 518 and 537 when unable to raise the open-file soft limit
Yang Tse [Thu, 17 Jan 2008 18:03:07 +0000 (18:03 +0000)]
fix compiler warning
Dan Fandrich [Thu, 17 Jan 2008 04:10:28 +0000 (04:10 +0000)]
Put the comments in an XML-valid location.
Gunter Knauf [Thu, 17 Jan 2008 01:25:46 +0000 (01:25 +0000)]
updated lib versions.
Gunter Knauf [Thu, 17 Jan 2008 01:20:03 +0000 (01:20 +0000)]
updated copyright for new year.
Daniel Stenberg [Wed, 16 Jan 2008 22:54:54 +0000 (22:54 +0000)]
Added test 553. This test case and code is based on the bug recipe Joe Malicki
provided for bug report #1871269, fixed on Jan 14 2008 before the 7.18.0
release.
Daniel Stenberg [Wed, 16 Jan 2008 22:09:51 +0000 (22:09 +0000)]
remove trailing comma too, even though I don't think it does any harm
Daniel Stenberg [Wed, 16 Jan 2008 22:08:37 +0000 (22:08 +0000)]
Nathan Coulter's patch that makes runtests.pl respect the PATH when figuring
out what valgrind to run.
Daniel Stenberg [Wed, 16 Jan 2008 21:33:52 +0000 (21:33 +0000)]
Dmitry Kurochkin's additional pipelining bugfix
Yang Tse [Wed, 16 Jan 2008 21:01:30 +0000 (21:01 +0000)]
fix handling of out of memory in the command line tool that afected
data url encoded HTTP POSTs when reading it from a file.
Patrick Monnerat [Wed, 16 Jan 2008 16:04:47 +0000 (16:04 +0000)]
OS/400 update:
New declarations in curl.h reported to curl.inc.in.
Copyrights extended to 2008.
SONAME handling introduced in build scripts.
Daniel Stenberg [Wed, 16 Jan 2008 12:24:00 +0000 (12:24 +0000)]
Dmitry Kurochkin worked a lot on improving the HTTP Pipelining support that
previously had a number of flaws, perhaps most notably when an application
fired up N transfers at once as then they wouldn't pipeline at all that
nicely as anyone would think... Test case 530 was also updated to take the
improved functionality into account.
Daniel Stenberg [Tue, 15 Jan 2008 23:19:02 +0000 (23:19 +0000)]
Calls to Curl_failf() are not supposed to provide a trailing newline as the
function itself adds that. Fixed on 50 or something strings!
Daniel Stenberg [Tue, 15 Jan 2008 22:44:12 +0000 (22:44 +0000)]
Woops, partly revert my previous commit and do it slightly differently instead.
The signalling of that a global DNS cache is wanted is done by setting the
option but the setting of the internal variable that it is in use must not be
done until it finally actually gets used!
NOTE and WARNING: I noticed that you can't actually switch off the global dns
cache with CURLOPT_DNS_USE_GLOBAL_CACHE but you couldn't do that previously
either and the option is very clearly and loudly documented as DO NOTE USE so
I won't bother to fix this bug now.
Daniel Stenberg [Tue, 15 Jan 2008 22:15:55 +0000 (22:15 +0000)]
I made the torture test on test 530 go through. This was actually due to
silly code left from when we switched to let the multi handle "hold" the dns
cache when using the multi interface... Of course this only triggered when a
certain function call returned error at the correct moment.
Daniel Stenberg [Tue, 15 Jan 2008 08:45:22 +0000 (08:45 +0000)]
Michal Marek's improved .curlrc syntax description
Daniel Stenberg [Mon, 14 Jan 2008 22:02:14 +0000 (22:02 +0000)]
Joe Malicki filed bug report #1871269
(http://curl.haxx.se/bug/view.cgi?id=1871269) and we could fix his hang-
problem that occurred when doing a large HTTP POST request with the
response-body read from a callback.
Yang Tse [Mon, 14 Jan 2008 19:40:10 +0000 (19:40 +0000)]
fix compiler warning
Yang Tse [Mon, 14 Jan 2008 19:28:54 +0000 (19:28 +0000)]
startnew() shouldn't return a positive pid as reported in the pidfile
by the spawned server itself unless it is actually alive
Daniel Stenberg [Mon, 14 Jan 2008 17:49:06 +0000 (17:49 +0000)]
5.3 support FF3 sqlite cookie files
Gisle Vanem [Mon, 14 Jan 2008 16:51:32 +0000 (16:51 +0000)]
Trying GnuTLS and OpenSSL together fails to compile in not so
obvious ways. Give an explicit error.
Yang Tse [Mon, 14 Jan 2008 01:53:17 +0000 (01:53 +0000)]
#115 is done
Yang Tse [Sun, 13 Jan 2008 04:39:32 +0000 (04:39 +0000)]
fix compiler warning
Yang Tse [Sun, 13 Jan 2008 03:27:14 +0000 (03:27 +0000)]
add client features part
Daniel Stenberg [Sat, 12 Jan 2008 22:56:12 +0000 (22:56 +0000)]
I re-arranged the curl --help output. All the options are now sorted on
their long option names and all descriptions are one-liners.
Daniel Stenberg [Sat, 12 Jan 2008 22:10:53 +0000 (22:10 +0000)]
Eric Landes provided the patch (edited by me) that introduces the
--keepalive-time to curl to set the keepalive probe interval. I also took
the opportunity to rename the recently added no-keep-alive option to
no-keepalive to keep a consistent naming and to avoid getting two dashes in
these option names. Eric also provided an update to the man page for the new
option.
Daniel Stenberg [Sat, 12 Jan 2008 10:31:07 +0000 (10:31 +0000)]
added release dates for four very old releases
Yang Tse [Sat, 12 Jan 2008 04:32:03 +0000 (04:32 +0000)]
Remove hardcoded verbosity
Yang Tse [Sat, 12 Jan 2008 00:12:16 +0000 (00:12 +0000)]
Ooops
Yang Tse [Fri, 11 Jan 2008 21:59:05 +0000 (21:59 +0000)]
Ooops
Daniel Stenberg [Fri, 11 Jan 2008 21:23:57 +0000 (21:23 +0000)]
new year
Yang Tse [Fri, 11 Jan 2008 20:17:33 +0000 (20:17 +0000)]
When verifying that test harness's SSH and SOCKS servers have been
started check also that the process is actually alive, since they
could have died once the pidfile was written out
Yang Tse [Fri, 11 Jan 2008 17:35:10 +0000 (17:35 +0000)]
fix compiler warning
Yang Tse [Fri, 11 Jan 2008 16:49:35 +0000 (16:49 +0000)]
fix compiler warning
Daniel Stenberg [Fri, 11 Jan 2008 15:21:21 +0000 (15:21 +0000)]
"114 - Ranged downloads on file:// URLs" done
Daniel Stenberg [Fri, 11 Jan 2008 14:20:41 +0000 (14:20 +0000)]
Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it
already worked for FTP:// URLs
Daniel Stenberg [Fri, 11 Jan 2008 14:00:47 +0000 (14:00 +0000)]
I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the
spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved
performance for the upload resume cases where you want to upload the last
few bytes of a very large file. To implement this decently, I had to switch
the client code for uploading from fopen()/fread() to plain open()/read() so
that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that)
on systems that offer support for that.
Daniel Stenberg [Thu, 10 Jan 2008 22:14:02 +0000 (22:14 +0000)]
Michal Marek made curl-config --libs not include /usr/lib64 in the output
(it already before skipped /usr/lib). /usr/lib64 is the default library
directory on many 64bit systems and it's unlikely that anyone would use the
path privately on systems where it's not.
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