Gisle Vanem [Wed, 12 Apr 2006 13:54:07 +0000 (13:54 +0000)]
Add "multiif.h" for GETSOCK_WRITESOCK() macro.
Daniel Stenberg [Tue, 11 Apr 2006 10:49:51 +0000 (10:49 +0000)]
#1468330 (curl.haxx.se/bug/view.cgi?id=1468330) pointed out a bad
typecast in the curl tool leading to a crash with (64bit?) VS2005 (at least)
since the struct timeval field tv_sec is an int while time_t is 64bit.
Daniel Stenberg [Tue, 11 Apr 2006 07:23:30 +0000 (07:23 +0000)]
adjusted to the new internal *_getsock() concept for providing info internally
about what sockets to wait for what action on
Daniel Stenberg [Tue, 11 Apr 2006 07:22:55 +0000 (07:22 +0000)]
added docs and removed proto
Daniel Stenberg [Mon, 10 Apr 2006 21:57:45 +0000 (21:57 +0000)]
mention recent additions
Daniel Stenberg [Mon, 10 Apr 2006 21:55:48 +0000 (21:55 +0000)]
adding the new man pages to the package
Daniel Stenberg [Mon, 10 Apr 2006 21:49:55 +0000 (21:49 +0000)]
Ates Goral found out that if you specified both CURLOPT_CONNECTTIMEOUT and
CURLOPT_TIMEOUT, the _longer_ time would wrongly be used for the SSL
connection time-out!
Daniel Stenberg [Mon, 10 Apr 2006 15:00:53 +0000 (15:00 +0000)]
First curl_multi_socket() commit. Should primarily be considered as an internal
code rearrange to fit the future better.
Daniel Stenberg [Mon, 10 Apr 2006 14:58:38 +0000 (14:58 +0000)]
This no longer needs the extra define!
Daniel Stenberg [Mon, 10 Apr 2006 14:54:12 +0000 (14:54 +0000)]
added README.multi_socket
Daniel Stenberg [Mon, 10 Apr 2006 14:44:23 +0000 (14:44 +0000)]
state of the multi_socket API works
Daniel Stenberg [Mon, 10 Apr 2006 13:31:35 +0000 (13:31 +0000)]
check for fork() as well, so that we can build the sws http test server with
fork support for cooler tests
Daniel Stenberg [Mon, 10 Apr 2006 13:14:14 +0000 (13:14 +0000)]
avoid duplicate typedefs, as this type is also defined in our public headers
Daniel Stenberg [Mon, 10 Apr 2006 13:12:52 +0000 (13:12 +0000)]
curl_multi_socket() updates
Daniel Stenberg [Mon, 10 Apr 2006 13:11:52 +0000 (13:11 +0000)]
if configure found a fork(), sws supports --fork which is *NOT* used by the
ordinary test suite. Also removed the perror() calls and instead made the
logging output the errno code to ease error tracking using logs.
Daniel Stenberg [Mon, 10 Apr 2006 13:10:25 +0000 (13:10 +0000)]
output the exit code from stunnel to stderr in case it is non-zero
Daniel Stenberg [Mon, 10 Apr 2006 13:09:56 +0000 (13:09 +0000)]
support --fork and pass that on to sws
Daniel Stenberg [Mon, 10 Apr 2006 13:03:20 +0000 (13:03 +0000)]
Scan for 'stunnel4' before 'stunnel' since debian have them setup this way
and it should break most other systems. The "funny" part is that debian
actually have a 'stunnel' setup to simulate stunnel v3 but it breaks our own
stunnel-version-detect-and-adjust-to-it system.
Added initial support for optionally running servers with fork support.
Daniel Stenberg [Mon, 10 Apr 2006 12:26:08 +0000 (12:26 +0000)]
Use correct content-length. Found out by patching the libcurl read to only
read one byte at a time...
Daniel Stenberg [Mon, 10 Apr 2006 08:24:57 +0000 (08:24 +0000)]
33. Doing multi-pass HTTP authentication on a non-default port does not work.
This happens because the multi-pass code abuses the redirect following code
for doing multiple requests, and when we following redirects to an absolute
URL we must use the newly specified port and not the one specified in the
original URL. A proper fix to this would need to separate the negotiation
"redirect" from an actual redirect.
Daniel Stenberg [Mon, 10 Apr 2006 08:17:08 +0000 (08:17 +0000)]
65 - curl_multi_socket() added but not extensively tested nor particularly
documented or pushed for.
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.