Daniel Stenberg [Fri, 26 May 2006 22:23:54 +0000 (22:23 +0000)]
Óscar Morales Vivó updated the libcurl.framework.make file.
Daniel Stenberg [Fri, 26 May 2006 11:26:42 +0000 (11:26 +0000)]
long/int cleanup to silence picky compiler warnings
Daniel Stenberg [Thu, 25 May 2006 23:04:20 +0000 (23:04 +0000)]
Olaf Stüben fixed a bug that caused Digest authentication with md5-sess to
fail. When using the md5-sess, the result was not Md5 encoded and Base64
transformed.
Daniel Stenberg [Thu, 25 May 2006 11:15:25 +0000 (11:15 +0000)]
minor RFC updates, Dan Fandrich brought my attention to them
Daniel Stenberg [Thu, 25 May 2006 11:04:08 +0000 (11:04 +0000)]
better check for libs created in the .libs directory since libtool does this
kind of magic
Daniel Stenberg [Wed, 24 May 2006 23:16:22 +0000 (23:16 +0000)]
added some missing items
Daniel Stenberg [Wed, 24 May 2006 23:02:51 +0000 (23:02 +0000)]
Copied the NO_UNDEFINED magic from libcurl to make this build fine again with
libtool cross-compiled on linux with mingw32
Daniel Stenberg [Wed, 24 May 2006 22:46:38 +0000 (22:46 +0000)]
Michael Wallner provided a patch that allows "SESS" to be set with
CURLOPT_COOKIELIST, which then makes all session cookies get cleared. (slightly
edited by me, and the re-indent in cookie.c was also done by me)
Daniel Stenberg [Wed, 24 May 2006 21:39:52 +0000 (21:39 +0000)]
make sure we pass a time_t * to localtime(), and the timeval struct members
are not always time_t ones
Daniel Stenberg [Wed, 24 May 2006 16:11:31 +0000 (16:11 +0000)]
minor fix to make Curl_splayremove() return a NULL as "removed" in case
nothing matched fine
Daniel Stenberg [Wed, 24 May 2006 15:22:03 +0000 (15:22 +0000)]
based on Tor Arntsen's fix, this should correct test case 271 to again run
fine
Daniel Stenberg [Tue, 23 May 2006 22:55:46 +0000 (22:55 +0000)]
Fixed a shell script syntax error that all of a sudden started causing this
script to fail on debian unstable (some specific bash version perhaps?)
Daniel Stenberg [Tue, 23 May 2006 21:19:36 +0000 (21:19 +0000)]
David McCreedy's update
Daniel Stenberg [Mon, 15 May 2006 08:09:07 +0000 (08:09 +0000)]
updated with more recent facts
Daniel Stenberg [Sun, 14 May 2006 22:49:23 +0000 (22:49 +0000)]
The SOCKS connection codes don't properly acknowledge (connect) timeouts.
Daniel Stenberg [Thu, 11 May 2006 22:24:44 +0000 (22:24 +0000)]
The new ftpuploadresume.c example by Philip Bock
Daniel Stenberg [Thu, 11 May 2006 21:37:58 +0000 (21:37 +0000)]
Ok, when checking for old-style SSLeay headers we cannot just use
AC_CHECK_HEADERS() and the action-if-found since that action is run even if
just one of the six headers is found and I just now fell over a case with
a duplicate file name (a krb4 implementation with an err.h file).
I converted the check to manually make sure three of the headers are present
before considering them fine.
Daniel Stenberg [Thu, 11 May 2006 06:34:30 +0000 (06:34 +0000)]
1 - allow much longer time for the test FTP server to startup and get verified
2 - store the time it took to verify it and allow that time to be used as
%FTPTIME[23] in command lines to allow us to adjust better to slow hosts
since test 190 failed on my slow solaris machine just because it hadn't
gotten time to run all the way the test assumed all machines would reach
before the time-out elapsed.
Daniel Stenberg [Thu, 11 May 2006 05:17:40 +0000 (05:17 +0000)]
make sure the LASTSOCKET check only checks for SSL status if the socket
truly use SSL
Daniel Stenberg [Thu, 11 May 2006 05:16:38 +0000 (05:16 +0000)]
silence warning
Daniel Stenberg [Wed, 10 May 2006 22:17:42 +0000 (22:17 +0000)]
David McCreedy provided a fix for CURLINFO_LASTSOCKET that does extended
checks on the to-be-returned socket to make sure it truly seems to be alive
and well. For SSL connection it (only) uses OpenSSL functions.
Daniel Stenberg [Wed, 10 May 2006 21:38:46 +0000 (21:38 +0000)]
My Solaris test server was simply too slow to be able to respond within 4
seconds even when everything is fine! Now we allow a test server 8 seconds
to respond to still be considered ok.
Daniel Stenberg [Wed, 10 May 2006 14:16:30 +0000 (14:16 +0000)]
cvsignore these files
Daniel Stenberg [Wed, 10 May 2006 11:44:31 +0000 (11:44 +0000)]
1 - allow DICT with properly URL-escaped words, like using %20 for spaces
2 - properly escape certain letters within a DICT word to comply to the RFC2229
Daniel Stenberg [Wed, 10 May 2006 09:53:52 +0000 (09:53 +0000)]
removed variable declarations shadowing previously declared variables
Daniel Stenberg [Wed, 10 May 2006 08:03:54 +0000 (08:03 +0000)]
Bram Matthys brought my attention to a libtool peculiarity where detecting
things such as C++ compiler actually is a bad thing and since we don't need
that detection I added a work-around, much inspired by a previous patch by
Paolo Bonzini. This also shortens the configure script quite a lot.
Daniel Stenberg [Tue, 9 May 2006 13:02:53 +0000 (13:02 +0000)]
oops, could return an uninitialized variable
Daniel Stenberg [Tue, 9 May 2006 12:56:35 +0000 (12:56 +0000)]
Andreas Ntaflos reported a bug in libcurl.m4: When configuring my GNU
autotools project, which optionally (default=yes) uses libcurl on a system
without a (usable) libcurl installation, but not specifying
`--without-libcurl', configure determines correctly that no libcurl is
available, however, the LIBCURL variable gets expanded to `LIBCURL = -lcurl'
in the resulting Makefiles.
David Shaw fixed the flaw.
Daniel Stenberg [Tue, 9 May 2006 12:44:11 +0000 (12:44 +0000)]
mention the other TFTP cleanup sweep from yday
Daniel Stenberg [Tue, 9 May 2006 12:43:49 +0000 (12:43 +0000)]
Robson Braga Araujo fixed two problems in the recently added non-blocking SSL
connects. The state machine was not reset properly so that subsequent
connects using the same handle would fail, and there were two memory leaks.
Daniel Stenberg [Tue, 9 May 2006 11:33:00 +0000 (11:33 +0000)]
Robson Braga Araujo fixed a memory leak when you added an easy handle to a
multi stack and that easy handle had already been used to do one or more
easy interface transfers, as then the code threw away the previously used
DNS cache without properly freeing it.
Daniel Stenberg [Mon, 8 May 2006 22:23:33 +0000 (22:23 +0000)]
check more return codes and skip the initial slash in given file names
Daniel Stenberg [Mon, 8 May 2006 21:00:44 +0000 (21:00 +0000)]
no longer uses errno but Curl_sockerrno() and now acknowledges return codes
from Curl_client_write
Dan Fandrich [Mon, 8 May 2006 19:41:26 +0000 (19:41 +0000)]
Stop sending retransmitted received blocks up to client
Fixed handling of retransmitted blocks on transmit
Properly aligned data to transmit within packet
Replaced calls to strerror() with Curl_strerror()
Daniel Stenberg [Mon, 8 May 2006 15:09:50 +0000 (15:09 +0000)]
Fixed known bug #28. The TFTP code no longer assumes a packed struct and
thus works reliably on more platforms.
Daniel Stenberg [Sun, 7 May 2006 18:27:36 +0000 (18:27 +0000)]
Fix GnuTLS compile warning. Risking breakage with some older version of GnuTLS?
Daniel Stenberg [Fri, 5 May 2006 22:14:40 +0000 (22:14 +0000)]
Curl_https_getsock() was OpenSSL-specific and really should not be present
like this in this source file. The quickfix for now is to provide a simple
version for GnuTLS builds. The GnuTLS version of libcurl doesn't yet allow
fully non-blocking connects anyway so this function doesn't get used.
Daniel Stenberg [Fri, 5 May 2006 22:07:01 +0000 (22:07 +0000)]
get the Curl_sockerrno proto
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.