Daniel Stenberg [Mon, 20 Mar 2006 22:24:02 +0000 (22:24 +0000)]
7.15.3 contributors
Dan Fandrich [Mon, 20 Mar 2006 22:15:22 +0000 (22:15 +0000)]
Fixed a bug whereby a received file whose length was a multiple of
512 bytes could have random garbage appended. Also, stop processing TFTP
packets which are too short to be legal.
Daniel Stenberg [Mon, 20 Mar 2006 13:14:01 +0000 (13:14 +0000)]
off-by-one for the case when it adds /? and a terminating zero to the URL
Daniel Stenberg [Mon, 20 Mar 2006 09:03:09 +0000 (09:03 +0000)]
start working towards 7.15.4
Daniel Stenberg [Mon, 20 Mar 2006 07:59:45 +0000 (07:59 +0000)]
fixed the AIX packages
Daniel Stenberg [Mon, 20 Mar 2006 07:37:10 +0000 (07:37 +0000)]
missing in CVS
Daniel Stenberg [Mon, 20 Mar 2006 07:32:50 +0000 (07:32 +0000)]
fixed tftp packet overflow risk
Daniel Stenberg [Fri, 17 Mar 2006 08:22:50 +0000 (08:22 +0000)]
slight rewording based on debian bug report #357388 by Justin Pryzby
Daniel Stenberg [Thu, 16 Mar 2006 22:31:04 +0000 (22:31 +0000)]
fixed in CVS
Daniel Stenberg [Thu, 16 Mar 2006 21:23:41 +0000 (21:23 +0000)]
AIX Toolbox RPM spec file by Tor Arntsen
Daniel Stenberg [Wed, 15 Mar 2006 21:21:35 +0000 (21:21 +0000)]
slightly edited explanation for -f/--fail by the help of Kjell Ericson
Daniel Stenberg [Tue, 14 Mar 2006 00:07:21 +0000 (00:07 +0000)]
use the new types accordingly
Daniel Stenberg [Tue, 14 Mar 2006 00:05:15 +0000 (00:05 +0000)]
--ftp-method and CURLOPT_FTP_FILEMETHOD are now documented and usable
Daniel Stenberg [Mon, 13 Mar 2006 23:34:25 +0000 (23:34 +0000)]
David McCreedy found a use of the wrong variable when display the error
text from OpenSSL.
Daniel Stenberg [Mon, 13 Mar 2006 23:33:46 +0000 (23:33 +0000)]
David McCreedy found a missing return code assignment
Daniel Stenberg [Mon, 13 Mar 2006 19:44:36 +0000 (19:44 +0000)]
Scott Worley's typo fixes
Daniel Stenberg [Wed, 8 Mar 2006 15:46:21 +0000 (15:46 +0000)]
Peter Heuchert's correction for the clear control connection case
Daniel Stenberg [Tue, 7 Mar 2006 23:11:41 +0000 (23:11 +0000)]
Markus Koetter filed debian bug report #355715 which identified a problem
with the multi interface and multi-part formposts. The fix from February
22nd could make the Curl_done() function get called twice on the same
connection and it was not designed for that and thus tried to call free() on
an already freed memory area!
Daniel Stenberg [Tue, 7 Mar 2006 22:28:08 +0000 (22:28 +0000)]
Peter Heuchert made sure the CURLFTPSSL_CONTROL setting for CURLOPT_FTP_SSL
is used properly.
Daniel Stenberg [Mon, 6 Mar 2006 22:35:51 +0000 (22:35 +0000)]
Lots of users on Windows have reported getting the "SSL: couldn't set
callback" error message so I've now made the setting of that callback not be
as critical as before. The function is only used for additional loggging/
trace anyway so a failure just means slightly less data. It should still be
able to proceed and connect fine to the server.
Daniel Stenberg [Sat, 4 Mar 2006 22:39:31 +0000 (22:39 +0000)]
build fix for Interix
Daniel Stenberg [Fri, 3 Mar 2006 14:37:44 +0000 (14:37 +0000)]
If run on a curl built shared, detect this and invoke libtool for gdb
accordingly.
Daniel Stenberg [Fri, 3 Mar 2006 13:12:39 +0000 (13:12 +0000)]
added test524
Daniel Stenberg [Fri, 3 Mar 2006 13:09:30 +0000 (13:09 +0000)]
Prevent uploading to a URL that has no file name part.
Daniel Stenberg [Thu, 2 Mar 2006 22:09:30 +0000 (22:09 +0000)]
point out that CAINFO points out a file name by default
Daniel Stenberg [Thu, 2 Mar 2006 22:04:39 +0000 (22:04 +0000)]
added large chunk of blurb about the progress meter
Daniel Stenberg [Thu, 2 Mar 2006 13:35:54 +0000 (13:35 +0000)]
I'm pretty sure #24 is fixed in 7.15.2
Daniel Stenberg [Thu, 2 Mar 2006 11:41:23 +0000 (11:41 +0000)]
mention Dan F's out-of-file handles fix from the other day
Daniel Stenberg [Thu, 2 Mar 2006 11:37:05 +0000 (11:37 +0000)]
check for and use getprotobyname
Dan Fandrich [Tue, 28 Feb 2006 18:21:33 +0000 (18:21 +0000)]
Don't lock up at start when there aren't any free file descriptors.
Daniel Stenberg [Mon, 27 Feb 2006 21:32:42 +0000 (21:32 +0000)]
added missing files
Daniel Stenberg [Mon, 27 Feb 2006 18:17:50 +0000 (18:17 +0000)]
ack, removed duplicate
Daniel Stenberg [Mon, 27 Feb 2006 18:16:47 +0000 (18:16 +0000)]
7.15.2 contributors added
Daniel Stenberg [Mon, 27 Feb 2006 18:14:14 +0000 (18:14 +0000)]
start over on what might become 7.15.3
Daniel Stenberg [Mon, 27 Feb 2006 16:09:24 +0000 (16:09 +0000)]
hehe, wrong year but who reads these lines anyway? ;-)
Daniel Stenberg [Mon, 27 Feb 2006 16:05:16 +0000 (16:05 +0000)]
7.15.2
Gisle Vanem [Sun, 26 Feb 2006 18:20:43 +0000 (18:20 +0000)]
Small fix.
Gisle Vanem [Sun, 26 Feb 2006 17:08:33 +0000 (17:08 +0000)]
Use getprotobyname() to retrieve protocol number for TCP
(sorry, I don't know how to add this to the configure process).
Gisle Vanem [Sat, 25 Feb 2006 18:57:20 +0000 (18:57 +0000)]
Fix typo.
Dan Fandrich [Fri, 24 Feb 2006 21:35:48 +0000 (21:35 +0000)]
Added user ID support to SOCKS4.
Daniel Stenberg [Thu, 23 Feb 2006 21:33:02 +0000 (21:33 +0000)]
Fixed typo, the option is called --write-out. Bob Bagwill pointed out.
Daniel Stenberg [Thu, 23 Feb 2006 21:29:48 +0000 (21:29 +0000)]
argh, forgot the check for a connection before we call Curl_done
Dan Fandrich [Thu, 23 Feb 2006 18:39:22 +0000 (18:39 +0000)]
Fixed a few more comment typos.
Daniel Stenberg [Thu, 23 Feb 2006 14:42:47 +0000 (14:42 +0000)]
Peter Su's SOCKS4 fix
Daniel Stenberg [Thu, 23 Feb 2006 12:21:24 +0000 (12:21 +0000)]
the last planned fix is done
Daniel Stenberg [Thu, 23 Feb 2006 12:20:48 +0000 (12:20 +0000)]
Lots of work and analysis by "xbx___" in bug #1431750
(http://curl.haxx.se/bug/view.cgi?id=1431750) helped me identify and fix two
different but related bugs:
1) Removing an easy handle from a multi handle before the transfer is done
could leave a connection in the connection cache for that handle that is
in a state that isn't suitable for re-use. A subsequent re-use could then
read from a NULL pointer and segfault.
2) When an easy handle was removed from the multi handle, there could be an
outstanding c-ares DNS name resolve request. When the response arrived,
it caused havoc since the connection struct it "belonged" to could've
been freed already.
Now Curl_done() is called when an easy handle is removed from a multi handle
pre-maturely (that is, before the transfer was complteted). Curl_done() also
makes sure to cancel all (if any) outstanding c-ares requests.
Dan Fandrich [Wed, 22 Feb 2006 23:55:28 +0000 (23:55 +0000)]
Fixed test case 57 (KNOWN_BUG #18)
Dan Fandrich [Wed, 22 Feb 2006 19:09:33 +0000 (19:09 +0000)]
Fixed some spelling errors in comments, and extraneous \n in failf logs.
Daniel Stenberg [Tue, 21 Feb 2006 15:25:22 +0000 (15:25 +0000)]
two typos in comments
Daniel Stenberg [Tue, 21 Feb 2006 07:46:41 +0000 (07:46 +0000)]
Peter Su added support for SOCKS4 proxies. Enable this by setting the proxy
type to the already provided type CURLPROXY_SOCKS4.
I added a --socks4 option that works like the current --socks5 option but
instead use the socks4 protocol.
Daniel Stenberg [Mon, 20 Feb 2006 10:05:47 +0000 (10:05 +0000)]
ftp upload with url ending with slash
Daniel Stenberg [Sun, 19 Feb 2006 23:16:48 +0000 (23:16 +0000)]
Shmulik Regev fixed an issue with multi-pass authentication and compressed
content when libcurl didn't honor the internal ignorebody flag.
Daniel Stenberg [Sat, 18 Feb 2006 22:27:01 +0000 (22:27 +0000)]
Ulf Härnhammar fixed a format string (printf style) problem in the Negotiate
code. It should however not be the cause of any troubles. He also fixed a
few similar problems in the HTTP test server code.
Yang Tse [Fri, 17 Feb 2006 15:58:21 +0000 (15:58 +0000)]
Fix spacing.
Daniel Stenberg [Fri, 17 Feb 2006 13:31:49 +0000 (13:31 +0000)]
fixed formatting
Daniel Stenberg [Thu, 16 Feb 2006 23:42:32 +0000 (23:42 +0000)]
Shmulik Regev provided a fix for the DNS cache when using short life times,
as previously it could be holding on to old cached entries longer than
requested.
Dan Fandrich [Thu, 16 Feb 2006 19:19:32 +0000 (19:19 +0000)]
Gopher is no longer supported.
Daniel Stenberg [Thu, 16 Feb 2006 12:11:20 +0000 (12:11 +0000)]
two items before release
Daniel Stenberg [Thu, 16 Feb 2006 10:02:11 +0000 (10:02 +0000)]
Added some clarifying comments
Daniel Stenberg [Wed, 15 Feb 2006 09:36:39 +0000 (09:36 +0000)]
32. (At least on Windows) If libcurl is built with c-ares and there's no DNS
server configured in the system, the ares_init() call fails and thus
curl_easy_init() fails as well. This causes weird effects for people who use
numerical IP addresses only.
Daniel Stenberg [Sat, 11 Feb 2006 22:36:29 +0000 (22:36 +0000)]
mention the CURLOPT_CONNECT_ONLY connection
Daniel Stenberg [Sat, 11 Feb 2006 22:35:16 +0000 (22:35 +0000)]
Karl M added the CURLOPT_CONNECT_ONLY and CURLINFO_LASTSOCKET options that
an app can use to let libcurl only connect to a remote host and then extract
the socket from libcurl. libcurl will then not attempt to do any transfer at
all after the connect is done.
Daniel Stenberg [Sat, 11 Feb 2006 12:56:52 +0000 (12:56 +0000)]
Kent Boortz improved the configure check for GnuTLS to properly set LIBS
instead of LDFLAGS.
Daniel Stenberg [Thu, 9 Feb 2006 22:25:41 +0000 (22:25 +0000)]
CURLOPT_NOSIGNAL might be a MUST to make threaded use work, like on AIX 5.2
due to the use of the static variable for sigsetjmp()
Daniel Stenberg [Tue, 7 Feb 2006 23:09:04 +0000 (23:09 +0000)]
Philippe Vaucher provided a brilliant piece of test code that show a problem
with re-used FTP connections. If the second request on the same connection was
set not to fetch a "body", libcurl could get confused and consider it an
attempt to use a dead connection and would go acting mighty strange.
Daniel Stenberg [Tue, 7 Feb 2006 18:56:41 +0000 (18:56 +0000)]
avoid illegal memory access when doing "-T [URL] [URL]"
Daniel Stenberg [Tue, 7 Feb 2006 14:03:17 +0000 (14:03 +0000)]
Rene Bernhardt found this typo
Daniel Stenberg [Mon, 6 Feb 2006 20:02:14 +0000 (20:02 +0000)]
how silly, the cookie expired! ;-)
Daniel Stenberg [Sat, 4 Feb 2006 18:08:54 +0000 (18:08 +0000)]
Frank's synctime.c example and an updated list in README
Daniel Stenberg [Wed, 1 Feb 2006 23:28:22 +0000 (23:28 +0000)]
fixed --limit-rate
Daniel Stenberg [Wed, 1 Feb 2006 23:26:14 +0000 (23:26 +0000)]
Make --limit-rate [num] mean bytes. Seems I broke it back in november 2005...
Gisle Vanem [Mon, 30 Jan 2006 18:57:02 +0000 (18:57 +0000)]
Squelch the "warning: 'port' might be used uninitialized in this function".
(occurs w/o ENABLE_IPV6).
Daniel Stenberg [Mon, 30 Jan 2006 08:24:07 +0000 (08:24 +0000)]
Added CURLOPT_LOCALPORT and CURLOPT_LOCALPORTRANGE to libcurl. Set with the
curl tool with --local-port. Plain and simply set the range of ports to bind
the local end of connections to. Implemented on to popular demand.
Not extensively tested. Please let me know how it works.
Daniel Stenberg [Mon, 30 Jan 2006 08:20:52 +0000 (08:20 +0000)]
Based on an error report by Philippe Vaucher, we no longer count a retried
connection setup as a follow-redirect. It turns out 1) this fails when a FTP
connection is re-setup and 2) it does make the max-redirs counter behave
wrong. This fix was not verified since the reporter vanished, but I believe
this is the right fix nonetheless.
Daniel Stenberg [Sun, 29 Jan 2006 13:13:45 +0000 (13:13 +0000)]
more mirrors
Daniel Stenberg [Sat, 28 Jan 2006 13:14:38 +0000 (13:14 +0000)]
we should fix the system includes in the public headers to be based on checks
of the system instead of depending on what particular systems we think need
various headers
Daniel Stenberg [Sat, 28 Jan 2006 13:13:58 +0000 (13:13 +0000)]
include sys/select.h on NetBSD as well
Daniel Stenberg [Fri, 27 Jan 2006 21:23:04 +0000 (21:23 +0000)]
typo pointed out by Mike Griffiths
Daniel Stenberg [Fri, 27 Jan 2006 15:01:10 +0000 (15:01 +0000)]
Cyrill Osterwalder pointed out that sending "" as data in a header is in
fact equal to a blank one according to the spec.
Daniel Stenberg [Thu, 26 Jan 2006 10:39:25 +0000 (10:39 +0000)]
updated source header
Daniel Stenberg [Tue, 24 Jan 2006 14:40:43 +0000 (14:40 +0000)]
Michal Marek provided a patch for FTP that makes libcurl continue to try PASV
even after EPSV returned a positive response code, if libcurl failed to
connect to the port number the EPSV response said. Obviously some people are
going through protocol-sensitive firewalls (or similar) that don't understand
EPSV and then they don't allow the second connection unless PASV was
used. This also called for a minor fix of test case 238.
Dan Fandrich [Fri, 20 Jan 2006 18:56:27 +0000 (18:56 +0000)]
Fixed some statements about handling multiple occurrences of options.
Tried to make some of the wording a bit more consistent.
Daniel Stenberg [Fri, 20 Jan 2006 17:50:12 +0000 (17:50 +0000)]
the second -P fix
Daniel Stenberg [Thu, 19 Jan 2006 23:52:03 +0000 (23:52 +0000)]
Duane Cathey was one of our friends who reported that curl -P [IP]
(CURLOPT_FTPPORT) didn't work for ipv6-enabed curls if the IP wasn't a
"native" IP while it works fine for ipv6-disabled builds!
In the process of fixing this, I removed the support for LPRT since I can't
think of many reasons to keep doing it and asking on the mailing list didn't
reveal anyone else that could either. The code that sends EPRT and PORT is
now also a lot simpler than before (IMHO).
Daniel Stenberg [Thu, 19 Jan 2006 22:02:46 +0000 (22:02 +0000)]
Jon Turner pointed out that doing -P [hostname] with curl (built ipv4-only)
didn't work.
Daniel Stenberg [Thu, 19 Jan 2006 20:40:08 +0000 (20:40 +0000)]
clarify what "-P -" does
Daniel Stenberg [Thu, 19 Jan 2006 09:53:33 +0000 (09:53 +0000)]
corrected factual mistake about BSD license in the krb4.c code
Daniel Stenberg [Wed, 18 Jan 2006 12:17:20 +0000 (12:17 +0000)]
reality sync
Daniel Stenberg [Wed, 18 Jan 2006 10:00:36 +0000 (10:00 +0000)]
configure no longer warns on "missing" if the current path contains a space
Daniel Stenberg [Tue, 17 Jan 2006 17:39:39 +0000 (17:39 +0000)]
David Shaw: Here is the latest libcurl.m4 autoconf tests. It is updated with
the latest features and protocols that libcurl supports and has a minor fix to
better deal with the obscure case where someone has more than one libcurl
installed at the same time.
Daniel Stenberg [Tue, 17 Jan 2006 07:53:29 +0000 (07:53 +0000)]
happy new year!
Daniel Stenberg [Mon, 16 Jan 2006 22:14:37 +0000 (22:14 +0000)]
David Shaw finally removed all traces of Gopher and we are now officially
not supporting it. It hasn't been functioning for years anyway, so this is
just finally stating what already was true. And a cleanup at the same time.
Daniel Stenberg [Mon, 16 Jan 2006 00:00:28 +0000 (00:00 +0000)]
improved the description of the -L/--location option
Daniel Stenberg [Sun, 15 Jan 2006 23:55:53 +0000 (23:55 +0000)]
Bryan Henderson turned the 'initialized' variable for curl_global_init()
into a counter, and thus you can now do multiple curl_global_init() and you
are then supposed to do the same amount of calls to curl_global_cleanup().
Bryan also updated the docs accordingly.
Daniel Stenberg [Sun, 15 Jan 2006 23:17:46 +0000 (23:17 +0000)]
adjusted to use curl_multi_setopt() to set the callback
Daniel Stenberg [Sun, 15 Jan 2006 23:15:24 +0000 (23:15 +0000)]
adjusted to the new concept of the callback
Daniel Stenberg [Fri, 13 Jan 2006 12:16:16 +0000 (12:16 +0000)]
Andrew Benham fixed a race condition in the test suite that could cause the
test script to kill all processes in the current process group!
Daniel Stenberg [Thu, 12 Jan 2006 22:18:38 +0000 (22:18 +0000)]
Fixed FTP_SKIP_PASV_IP and FTP_USE_EPSV to "do right" when used on FTP thru
HTTP proxy.
Daniel Stenberg [Thu, 12 Jan 2006 12:40:04 +0000 (12:40 +0000)]
Michael Jahn fixed ftp over CONNECT
Daniel Stenberg [Tue, 10 Jan 2006 23:08:38 +0000 (23:08 +0000)]
mention the "secret" option as I've got no feedback and it is actually present
in 7.15.1