Daniel Stenberg [Mon, 10 Apr 2006 08:16:03 +0000 (08:16 +0000)]
we haven't been using yacc/bison in a long time!
Daniel Stenberg [Mon, 10 Apr 2006 08:14:05 +0000 (08:14 +0000)]
forked off the changes from 2005 into its own file
Daniel Stenberg [Sun, 9 Apr 2006 22:41:22 +0000 (22:41 +0000)]
CURLE_FTP_USER_PASSWORD_INCORRECT is not returned by libcurl anymore!
Daniel Stenberg [Sun, 9 Apr 2006 22:40:49 +0000 (22:40 +0000)]
mention RFC 2396 for URL syntax spec
Daniel Stenberg [Sun, 9 Apr 2006 08:39:08 +0000 (08:39 +0000)]
new little example using the new conversion callbacks added in 7.15.4
Daniel Stenberg [Sat, 8 Apr 2006 21:29:01 +0000 (21:29 +0000)]
mention the outlength argument
Gisle Vanem [Sat, 8 Apr 2006 11:04:53 +0000 (11:04 +0000)]
readint_le() not needed in USE_WINDOWS_SSPI code.
Gisle Vanem [Sat, 8 Apr 2006 11:01:40 +0000 (11:01 +0000)]
curl_easy_unescape() takes 4 arguments.
Daniel Stenberg [Fri, 7 Apr 2006 21:50:47 +0000 (21:50 +0000)]
First commit of David McCreedy's EBCDIC and TPF changes.
Daniel Stenberg [Fri, 7 Apr 2006 12:10:34 +0000 (12:10 +0000)]
minor re-arrange to return a value in order to avoid compiler warnings
for not returning a value from a non-void function (even though the code
never actually reached that point before)
Daniel Stenberg [Fri, 7 Apr 2006 11:47:21 +0000 (11:47 +0000)]
added typedefed function pointers and typecast the NULL assignments in an
attempt to silence picky compilers when assigning data pointers to a function
pointer variable
Daniel Stenberg [Fri, 7 Apr 2006 11:46:16 +0000 (11:46 +0000)]
attempt to avoid warnings in picky environments by storing options as
unsigned chars
Daniel Stenberg [Wed, 5 Apr 2006 12:46:03 +0000 (12:46 +0000)]
cut off a bit more of the type-2 ntlm message since it differs between
hosts
Daniel Stenberg [Wed, 5 Apr 2006 12:35:48 +0000 (12:35 +0000)]
Michele Bini modified the NTLM code to work for his "weird IIS case"
(http://curl.haxx.se/mail/lib-2006-02/0154.html) by adding the NTLM hash
function in addition to the LM one and making some other adjustments in the
order the different parts of the data block are sent in the Type-2 reply.
Inspiration for this work was taken from the Firefox NTLM implementation.
I edited the existing 21(!) NTLM test cases to run fine with these news. Due
to the fact that we now properly include the host name in the Type-2 message
the test cases now only compare parts of that chunk.
Daniel Stenberg [Tue, 28 Mar 2006 10:08:54 +0000 (10:08 +0000)]
for the CURLDEBUG case, we redefine sprintf and vsprintf to make us notice
if any use of such a function slip through
Daniel Stenberg [Tue, 28 Mar 2006 08:03:25 +0000 (08:03 +0000)]
#1451929 (curl.haxx.se/bug/view.cgi?id=1451929) detailed a bug that
occurred when asking libcurl to follow HTTP redirects and the original URL had
more than one question mark (?). Added test case 276 to verify.
Daniel Stenberg [Tue, 28 Mar 2006 07:51:59 +0000 (07:51 +0000)]
converted sprintf() to snprintf() to reduce risk
Daniel Stenberg [Mon, 27 Mar 2006 21:59:40 +0000 (21:59 +0000)]
David Byron found a problem multiple -d options when libcurl was built with
--enable-debug, as then curl used free() on memory allocated both with
normal malloc() and with libcurl-provided functions, when the latter MUST be
freed with curl_free() in debug builds.
Gunter Knauf [Mon, 27 Mar 2006 14:34:19 +0000 (14:34 +0000)]
minor Makefile fix - let's go 2006;
avoid kiling hugehelp.c when not built from CVS.
Daniel Stenberg [Sun, 26 Mar 2006 08:52:43 +0000 (08:52 +0000)]
Tor Arntsen figured out that TFTP was broken on a lot of systems since we
called bind() with a too big argument in the 3rd parameter and at least
Tru64, AIX and IRIX seem to be very picky about it.
Daniel Stenberg [Tue, 21 Mar 2006 22:30:03 +0000 (22:30 +0000)]
David McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry path
Daniel Stenberg [Tue, 21 Mar 2006 21:54:44 +0000 (21:54 +0000)]
Xavier Bouchoux made the SSL connection non-blocking for the multi interface
(when using OpenSSL).
Daniel Stenberg [Tue, 21 Mar 2006 13:34:41 +0000 (13:34 +0000)]
Tor Arntsen fixed the AIX Toolbox RPM spec
Daniel Stenberg [Mon, 20 Mar 2006 22:51:08 +0000 (22:51 +0000)]
David McCreedy fixed libcurl to no longer ignore AUTH failures and now it
reacts properly according to the CURLOPT_FTP_SSL setting.
Daniel Stenberg [Mon, 20 Mar 2006 22:25:14 +0000 (22:25 +0000)]
mention today's fixes
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