Yang Tse [Wed, 6 Feb 2008 17:35:17 +0000 (17:35 +0000)]
Don't try to compare more than strlen chars
Yang Tse [Wed, 6 Feb 2008 16:54:01 +0000 (16:54 +0000)]
Use a long int data type to handle getpid() result
Yang Tse [Tue, 5 Feb 2008 18:37:53 +0000 (18:37 +0000)]
Fix buffer size specification.
Improve handling of boundary conditions for huge requests.
Yang Tse [Tue, 5 Feb 2008 14:43:16 +0000 (14:43 +0000)]
Minor variable type cleanups.
Disable "swsbounce" mode when the received request
isn't for the same test and part number.
Yang Tse [Tue, 5 Feb 2008 02:21:38 +0000 (02:21 +0000)]
proper initialization of httprequest, no longer zeroing out twice
the whole 150000+ bytes struct, and also removing an equally big
additional buffer for pipelining treatment.
Gunter Knauf [Mon, 4 Feb 2008 22:40:59 +0000 (22:40 +0000)]
fixed entry symbols when linked with posix prelude.
Gunter Knauf [Mon, 4 Feb 2008 22:29:52 +0000 (22:29 +0000)]
added makefile flag to link with NLM POSIX semantics.
Daniel Stenberg [Sun, 3 Feb 2008 12:31:35 +0000 (12:31 +0000)]
- Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
use of the "is_in_pipeline" struct field.
Daniel Stenberg [Sun, 3 Feb 2008 12:28:48 +0000 (12:28 +0000)]
threaded-ssl.c is a little example that does multi-threaded downloads from
HTTPS sites with OpenSSL-enabled libcurl (and pthreads) and thus do the
thread-locking and things openssl-style.
Daniel Stenberg [Sun, 3 Feb 2008 10:10:00 +0000 (10:10 +0000)]
it is stable now...
Dan Fandrich [Fri, 1 Feb 2008 20:34:27 +0000 (20:34 +0000)]
Make mkinstalldirs ignore umask, for consistency with the rest of the
install process. Note that mkinstalldirs appears to be used only
in some configurations.
Yang Tse [Thu, 31 Jan 2008 16:37:16 +0000 (16:37 +0000)]
When possible, use additional config options for test harness ssh server,
which are deprecated in recent OpenSSH versions but are current for SunSSH.
Daniel Stenberg [Thu, 31 Jan 2008 12:21:57 +0000 (12:21 +0000)]
- Niklas Angebrand made the cookie support in libcurl properly deal with the
"HttpOnly" feature introduced by Microsoft and apparently also supported by
Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
is now supported when received from servers in HTTP headers, when written to
cookie jars and when read from existing cookie jars.
Daniel Stenberg [Thu, 31 Jan 2008 12:04:33 +0000 (12:04 +0000)]
- Dmitry Kurochkin moved several struct fields from the connectdata struct to
the SingleRequest one to make pipelining better. It is a bit tricky to keep
them in the right place, to keep things related to the actual request or to
the actual connection in the right place.
Daniel Stenberg [Thu, 31 Jan 2008 11:36:05 +0000 (11:36 +0000)]
bug 51 may possibly be fixed, and as such it is not a known bug anymore:
51.Kevin Reed's reported problem with a proxy when doing CONNECT and it
wants NTLM and close the connection to the initial CONNECT response:
http://curl.haxx.se/bug/view.cgi?id=1879375
Gunter Knauf [Tue, 29 Jan 2008 23:46:41 +0000 (23:46 +0000)]
silent stupid 'del' message when no files to delete found;
added curl.res to clean target.
Daniel Stenberg [Tue, 29 Jan 2008 23:10:25 +0000 (23:10 +0000)]
add verbose output to test 509 for easier debugging
Daniel Stenberg [Tue, 29 Jan 2008 12:58:25 +0000 (12:58 +0000)]
- Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously
crash!
Daniel Stenberg [Tue, 29 Jan 2008 12:31:11 +0000 (12:31 +0000)]
- Michal Marek fixed minor mistake in test case 553 that prevented it from
working on other IP-addresses or port numbers.
Daniel Stenberg [Mon, 28 Jan 2008 21:19:15 +0000 (21:19 +0000)]
start over on 7.18.1
Daniel Stenberg [Mon, 28 Jan 2008 19:25:40 +0000 (19:25 +0000)]
Added peeps from the 7.18.0 release annoucement
Daniel Stenberg [Mon, 28 Jan 2008 17:28:21 +0000 (17:28 +0000)]
7.18.0
Daniel Stenberg [Mon, 28 Jan 2008 16:04:52 +0000 (16:04 +0000)]
Add the three currently discussed bugs that won't make it into the 7.18.0
release but hopefully they'll all be fixed in 7.18.1...
Daniel Stenberg [Mon, 28 Jan 2008 11:56:13 +0000 (11:56 +0000)]
this was modified this year so we bump the copyright year
Daniel Stenberg [Mon, 28 Jan 2008 11:48:41 +0000 (11:48 +0000)]
updated copyright year in the generated configure
Daniel Stenberg [Sun, 27 Jan 2008 22:53:09 +0000 (22:53 +0000)]
Dmitry Kurochkin: In "real world" testing I found more bugs in
pipelining. Broken connection is not restored and we get into infinite
loop. It happens because of wrong is_in_pipeline values.
Yang Tse [Sun, 27 Jan 2008 02:35:20 +0000 (02:35 +0000)]
Dont rely on PAMAuthenticationViaKbdInt default being 'no'
Daniel Stenberg [Sat, 26 Jan 2008 00:13:38 +0000 (00:13 +0000)]
added test 1021 to verify my fix for bug report #1879375
Daniel Stenberg [Fri, 25 Jan 2008 23:33:45 +0000 (23:33 +0000)]
- Kevin Reed filed bug report #1879375
(http://curl.haxx.se/bug/view.cgi?id=1879375) which describes how libcurl
got lost in this scenario: proxy tunnel (or HTTPS over proxy), ask to do any
proxy authentication and the proxy replies with an auth (like NTLM) and then
closes the connection after that initial informational response.
libcurl would not properly re-initialize the connection to the proxy and
continue the auth negotiation like supposed. It does now however, as it will
now detect if one or more authentication methods were available and asked
for, and will thus retry the connection and continue from there.
- I made the progress callback get called properly during proxy CONNECT.
Daniel Stenberg [Fri, 25 Jan 2008 22:35:06 +0000 (22:35 +0000)]
using anyauth isn't unconditionally an extra roundtrip
Daniel Stenberg [Fri, 25 Jan 2008 22:10:10 +0000 (22:10 +0000)]
just wanted to mention two uclinux archs I've tried libcurl builds on myself
Yang Tse [Fri, 25 Jan 2008 05:08:53 +0000 (05:08 +0000)]
improve request initialization for test harness HTTP server
Yang Tse [Fri, 25 Jan 2008 05:07:04 +0000 (05:07 +0000)]
Dmitry Kurochkin's test harness HTTP server pipelining fix fot test 530
Daniel Stenberg [Thu, 24 Jan 2008 17:17:18 +0000 (17:17 +0000)]
and Igor Franchuk is his name!
Gunter Knauf [Thu, 24 Jan 2008 15:39:51 +0000 (15:39 +0000)]
fixed link to latest native awk.
Gunter Knauf [Thu, 24 Jan 2008 15:28:47 +0000 (15:28 +0000)]
updated makefiles to use global copyright define.
Gunter Knauf [Thu, 24 Jan 2008 15:27:06 +0000 (15:27 +0000)]
updated awk script to fetch copyright from header.
Gunter Knauf [Thu, 24 Jan 2008 15:05:56 +0000 (15:05 +0000)]
minor makefile tweaks.
Gunter Knauf [Thu, 24 Jan 2008 14:15:49 +0000 (14:15 +0000)]
happy new year
Gunter Knauf [Thu, 24 Jan 2008 14:14:34 +0000 (14:14 +0000)]
use more correctly named define.
Gunter Knauf [Thu, 24 Jan 2008 14:10:59 +0000 (14:10 +0000)]
use copyright define instead of hardcoded string.
Gunter Knauf [Thu, 24 Jan 2008 14:05:56 +0000 (14:05 +0000)]
added copyright define to curlver.h.
Daniel Stenberg [Wed, 23 Jan 2008 22:22:12 +0000 (22:22 +0000)]
"Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so
did "SESS". Fixed now.
Daniel Stenberg [Wed, 23 Jan 2008 12:22:04 +0000 (12:22 +0000)]
Dmitry Kurochkin's pipelining close-down segfault fix
Yang Tse [Wed, 23 Jan 2008 07:27:40 +0000 (07:27 +0000)]
update openssl version
Yang Tse [Wed, 23 Jan 2008 06:11:11 +0000 (06:11 +0000)]
STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO clone macros
Gunter Knauf [Wed, 23 Jan 2008 02:12:13 +0000 (02:12 +0000)]
happy new year
Gunter Knauf [Wed, 23 Jan 2008 02:10:40 +0000 (02:10 +0000)]
removed inclusion of libcurl memory debug headers since this lib stub is a well proofed method suggested by Novell. This enables usage of the stub with language bindings.
Yang Tse [Tue, 22 Jan 2008 17:26:42 +0000 (17:26 +0000)]
when unable to initialize sftp session, also log failure reason
Yang Tse [Tue, 22 Jan 2008 14:52:54 +0000 (14:52 +0000)]
check availability of poll.h header at configuration time, and include
it when sys/poll.h is unavailable
Yang Tse [Tue, 22 Jan 2008 03:48:16 +0000 (03:48 +0000)]
update copyright year
Daniel Stenberg [Mon, 21 Jan 2008 23:48:58 +0000 (23:48 +0000)]
Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed
that it is bad anyway. Starting now, removing a handle that is in used in a
pipeline will break the pipeline - it'll be set back up again but still...
Yang Tse [Mon, 21 Jan 2008 20:22:33 +0000 (20:22 +0000)]
Disable ldap support for cygwin builds, since it breaks whole build process.
Yang Tse [Mon, 21 Jan 2008 05:35:08 +0000 (05:35 +0000)]
undo using internal *printf() clones for test #530
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