Daniel Stenberg [Fri, 5 May 2006 21:08:09 +0000 (21:08 +0000)]
two more contributors
Daniel Stenberg [Fri, 5 May 2006 10:24:27 +0000 (10:24 +0000)]
additional renames of Curl_ourerrno => Curl_sockerrno
Daniel Stenberg [Thu, 4 May 2006 22:39:47 +0000 (22:39 +0000)]
Roland Blom filed bug report #1481217
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini
and David Byron. libcurl previously wrongly used GetLastError() on windows to
get error details after socket-related function calls, when it really should
use WSAGetLastError() instead.
When changing to this, the former function Curl_ourerrno() is now instead
called Curl_sockerrno() as it is necessary to only use it to get errno from
socket-related functions as otherwise it won't work as intended on Windows.
Daniel Stenberg [Thu, 4 May 2006 06:00:40 +0000 (06:00 +0000)]
Mark Eichin submitted bug report #1480821
(http://curl.haxx.se/bug/view.cgi?id=1480821) He found and identified a
problem with how libcurl dealt with GnuTLS and a case where gnutls returned
GNUTLS_E_AGAIN indicating it would block. It would then return an unexpected
return code, making Curl_ssl_send() confuse the upper layer - causing random
28 bytes trash data to get inserted in the transfered stream.
The proper fix was to make the Curl_gtls_send() function return the proper
return codes that the callers would expect. The Curl_ossl_send() function
already did this.
Daniel Stenberg [Wed, 3 May 2006 22:39:49 +0000 (22:39 +0000)]
moved the curl_off_t check to within the --enable-debug block where it belongs since it is a somewhat ugly hack
Daniel Stenberg [Wed, 3 May 2006 06:11:44 +0000 (06:11 +0000)]
Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes
c-ares call a callback on socket state changes. A better way than the
ares_getsock() to get full control over the socket state.
Daniel Stenberg [Tue, 2 May 2006 22:48:22 +0000 (22:48 +0000)]
curl-config got a --checkfor option
Daniel Stenberg [Tue, 2 May 2006 09:19:31 +0000 (09:19 +0000)]
Make this code use the proper pointers
Gisle Vanem [Wed, 26 Apr 2006 17:27:36 +0000 (17:27 +0000)]
Added revision ID-tag.
Gisle Vanem [Wed, 26 Apr 2006 17:26:22 +0000 (17:26 +0000)]
Fixed signed/unsigned convertion errors in Salford-C.
#ifdef around WSAEDISCON in strerror.c.
Gisle Vanem [Wed, 26 Apr 2006 17:23:28 +0000 (17:23 +0000)]
Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines
(more logical).
Gisle Vanem [Wed, 26 Apr 2006 17:15:57 +0000 (17:15 +0000)]
djgpp has <process.h> too.
Gisle Vanem [Wed, 26 Apr 2006 17:11:05 +0000 (17:11 +0000)]
Added support for Salford-C under Win32 (scc). HAVE_MALLOC_H and
HAVE_PROCESS_H added for all except scc.
Gisle Vanem [Wed, 26 Apr 2006 17:04:47 +0000 (17:04 +0000)]
Added SalfordC support.
Daniel Stenberg [Wed, 26 Apr 2006 13:08:12 +0000 (13:08 +0000)]
crlf_conversions needs to be a curl_off_t for ASCII transfers > 4GB on 32bit
systems
Daniel Stenberg [Wed, 26 Apr 2006 13:00:45 +0000 (13:00 +0000)]
updated with more error codes
Daniel Stenberg [Wed, 26 Apr 2006 07:40:37 +0000 (07:40 +0000)]
David McCreedy brought line end conversions when doing FTP ASCII
transfers. They are done on non-windows systems and translate CRLF to LF.
Daniel Stenberg [Tue, 25 Apr 2006 21:41:05 +0000 (21:41 +0000)]
--ftp-method was missing in the --help output, as mentioned by Manfred Schwarb
Daniel Stenberg [Tue, 25 Apr 2006 20:49:40 +0000 (20:49 +0000)]
Paul Querna fixed libcurl to better deal with deflate content encoding when
the stream (wrongly) lacks a proper zlib header. This seems to be the case on
too many actual server implementations.
Daniel Stenberg [Tue, 25 Apr 2006 05:32:05 +0000 (05:32 +0000)]
prevent signed/unsigned warnings
Daniel Stenberg [Mon, 24 Apr 2006 22:41:07 +0000 (22:41 +0000)]
Mention my April 20 thoughts. I already changed the README in the lib dir
to be accurate on this.
Daniel Stenberg [Mon, 24 Apr 2006 22:40:20 +0000 (22:40 +0000)]
added the hipev build
Daniel Stenberg [Mon, 24 Apr 2006 22:40:04 +0000 (22:40 +0000)]
the example that _is_ supposed to use libevent
Daniel Stenberg [Mon, 24 Apr 2006 22:39:39 +0000 (22:39 +0000)]
this example does NOT use libevent!
Daniel Stenberg [Fri, 21 Apr 2006 13:46:19 +0000 (13:46 +0000)]
Ale Vesely fixed CURLOPT_INTERFACE when using a hostname
Daniel Stenberg [Fri, 21 Apr 2006 13:40:07 +0000 (13:40 +0000)]
each socket is used by exactly one easy handle, but of course each easy handle
can and will use more than one socket
Daniel Stenberg [Fri, 21 Apr 2006 11:17:54 +0000 (11:17 +0000)]
added SPL and XBLite
Gunter Knauf [Thu, 20 Apr 2006 10:26:51 +0000 (10:26 +0000)]
removed -fpack-struct because gcc4 seems to know its obsolete and warns...
Daniel Stenberg [Wed, 19 Apr 2006 11:11:10 +0000 (11:11 +0000)]
detect ICC and pass on "-we 147" so that the configure checks for function
arguments work properly - and the option is not harmful for the rest of the
curl build either!
Daniel Stenberg [Wed, 19 Apr 2006 09:08:15 +0000 (09:08 +0000)]
the new conversion stuff documented (mostly by David McCreedy)
Daniel Stenberg [Wed, 19 Apr 2006 09:03:21 +0000 (09:03 +0000)]
CURL_VERSION_CONV is returned by curl_version_info if libcurl has been built
to allow/support character conversions
Daniel Stenberg [Tue, 18 Apr 2006 23:24:23 +0000 (23:24 +0000)]
mention the recent thoughts/progress I had
Daniel Stenberg [Tue, 18 Apr 2006 23:14:30 +0000 (23:14 +0000)]
Robson Braga Araujo provided a patch that makes libcurl less eager to close
the control connection when using FTP, for example when you remove an easy
handle from a multi stack.
Daniel Stenberg [Tue, 18 Apr 2006 22:12:22 +0000 (22:12 +0000)]
mention Katie Wang as author of the patch
Daniel Stenberg [Tue, 18 Apr 2006 22:10:19 +0000 (22:10 +0000)]
corrected the SSL timeout, as Ates Goral's patch did it and that works (opposed
to my previous brain-damaged version)
Daniel Stenberg [Tue, 18 Apr 2006 10:55:41 +0000 (10:55 +0000)]
attempt to silence the MIPSPro compiler warning
Daniel Stenberg [Tue, 18 Apr 2006 10:51:07 +0000 (10:51 +0000)]
avoid a warning about declaring a variable that shadows an earlier declared
one
Daniel Stenberg [Tue, 18 Apr 2006 09:23:03 +0000 (09:23 +0000)]
there's an curl_easy_unescape too now
Gunter Knauf [Mon, 17 Apr 2006 18:04:27 +0000 (18:04 +0000)]
minor Makefile fix - let's go 2006;
use correct version var.
Gunter Knauf [Mon, 17 Apr 2006 17:06:10 +0000 (17:06 +0000)]
added missing symbol export.
Daniel Stenberg [Wed, 12 Apr 2006 18:12:46 +0000 (18:12 +0000)]
added splay
Gisle Vanem [Wed, 12 Apr 2006 14:01:21 +0000 (14:01 +0000)]
Added splay.c.
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