Daniel Stenberg [Thu, 17 Mar 2005 08:04:08 +0000 (08:04 +0000)]
add new option
Daniel Stenberg [Thu, 17 Mar 2005 08:04:00 +0000 (08:04 +0000)]
add new file
Daniel Stenberg [Thu, 17 Mar 2005 08:03:46 +0000 (08:03 +0000)]
its a start
Daniel Stenberg [Thu, 17 Mar 2005 07:40:15 +0000 (07:40 +0000)]
use Curl_inet_pton(), not inet_pton().
Dan Fandrich [Thu, 17 Mar 2005 00:57:17 +0000 (00:57 +0000)]
Added the --runtestsopts option to testcurl.pl to override the default
options used by runtests.pl during testing (useful for disabling valgrind).
Dan Fandrich [Wed, 16 Mar 2005 23:09:39 +0000 (23:09 +0000)]
Removed references to config-vms.h from the makefiles.
Dan Fandrich [Wed, 16 Mar 2005 22:27:05 +0000 (22:27 +0000)]
Removed old VMS config files (on behalf of Marty Kuhrt). The VMS build
scripts use the version in packages/vms/
Daniel Stenberg [Wed, 16 Mar 2005 22:03:55 +0000 (22:03 +0000)]
more
Daniel Stenberg [Wed, 16 Mar 2005 22:02:09 +0000 (22:02 +0000)]
check for the HTTPS server in a manner similar to how we check for the HTTP
server
Daniel Stenberg [Wed, 16 Mar 2005 22:01:39 +0000 (22:01 +0000)]
- Tru64 and some IRIX boxes seem to not like test 237 as it is. Their
inet_addr() functions seems to use &255 on all numericals in a ipv4 dotted
address which makes a different failure... Now I've modified the ipv4
resolve code to use inet_pton() instead in an attempt to make these systems
better detect this as a bad IP address rather than creating a toally bogus
address that is then passed on and used.
Dan Fandrich [Wed, 16 Mar 2005 02:25:12 +0000 (02:25 +0000)]
Fixed some compiler warnings I should have noticed before.
Dan Fandrich [Tue, 15 Mar 2005 21:00:46 +0000 (21:00 +0000)]
Fixed ftp support with uClibc due to differing inet_ntoa_r() behaviour.
Daniel Stenberg [Tue, 15 Mar 2005 12:33:08 +0000 (12:33 +0000)]
test EPSV and PASV response handling when they get well-formated data back
but using illegal values
Daniel Stenberg [Tue, 15 Mar 2005 12:13:37 +0000 (12:13 +0000)]
initial man page attempt for testcurl.pl
Daniel Stenberg [Tue, 15 Mar 2005 07:50:16 +0000 (07:50 +0000)]
new options to testcurl.pl, fixed curl-config and removed compiler warnings
Daniel Stenberg [Tue, 15 Mar 2005 07:49:47 +0000 (07:49 +0000)]
added missing features to curl-config
Daniel Stenberg [Tue, 15 Mar 2005 07:48:45 +0000 (07:48 +0000)]
nonsense change for(;;) => while(1) just to prevent gcc from warning on
never executed code when -Wunreachable-code is used
Daniel Stenberg [Tue, 15 Mar 2005 07:47:59 +0000 (07:47 +0000)]
prevent compiler warning
Daniel Stenberg [Tue, 15 Mar 2005 07:35:36 +0000 (07:35 +0000)]
Added lots of new command line options, made confsuffix get set based on
targetos only and not build os. Commented away the line that enables perl
warnings.
Dan Fandrich [Tue, 15 Mar 2005 04:47:07 +0000 (04:47 +0000)]
Finally fixed the LDAP library searching bug on libtool ver. 1.5
Dan Fandrich [Tue, 15 Mar 2005 04:04:50 +0000 (04:04 +0000)]
Make nonexistent host names absolute so tests will pass on machines
with a wildcard DNS search domain.
Dan Fandrich [Mon, 14 Mar 2005 19:37:07 +0000 (19:37 +0000)]
Use the libtool variables better to make LDAP library search work on
more platforms.
Daniel Stenberg [Mon, 14 Mar 2005 15:51:10 +0000 (15:51 +0000)]
hushing up more warnings
Daniel Stenberg [Mon, 14 Mar 2005 15:43:23 +0000 (15:43 +0000)]
silence compiler warnings for mingw win32 builds --enable-debug
Daniel Stenberg [Mon, 14 Mar 2005 12:26:29 +0000 (12:26 +0000)]
show LDFLAGS too
Daniel Stenberg [Mon, 14 Mar 2005 09:39:11 +0000 (09:39 +0000)]
if ws2_32 is used, append the lib last in the LIBS list (too) to make it
build and link fine with c-ares
Gisle Vanem [Mon, 14 Mar 2005 09:37:08 +0000 (09:37 +0000)]
Avoid "unused variable" warnings.
Daniel Stenberg [Mon, 14 Mar 2005 08:15:06 +0000 (08:15 +0000)]
configure --enable-sspi
Daniel Stenberg [Mon, 14 Mar 2005 07:46:42 +0000 (07:46 +0000)]
security.h is removed
Daniel Stenberg [Mon, 14 Mar 2005 00:52:14 +0000 (00:52 +0000)]
two issues fixed
Daniel Stenberg [Mon, 14 Mar 2005 00:01:30 +0000 (00:01 +0000)]
include security.h with lowercase s to work on cross-compiled mingw
Daniel Stenberg [Mon, 14 Mar 2005 00:00:45 +0000 (00:00 +0000)]
Removed security.h since it shadows an include file mingw needs when building
for SSPI support. The contents of the file has been moved into the krb4.h file.
Daniel Stenberg [Sun, 13 Mar 2005 23:59:28 +0000 (23:59 +0000)]
Added --enable-sspi that now make libcurl build with SSPI support. This only
works when built for win32.
Gisle Vanem [Sun, 13 Mar 2005 09:21:54 +0000 (09:21 +0000)]
Prevent gcc warning.
Daniel Stenberg [Sat, 12 Mar 2005 22:55:57 +0000 (22:55 +0000)]
found a common lisp binding
Daniel Stenberg [Sat, 12 Mar 2005 19:49:55 +0000 (19:49 +0000)]
--form-string
Daniel Stenberg [Sat, 12 Mar 2005 19:39:27 +0000 (19:39 +0000)]
David Houlder added --form-string
Gisle Vanem [Sat, 12 Mar 2005 17:31:15 +0000 (17:31 +0000)]
Swap <security.h> and <sspi.h> (needed for MingW).
Dan Fandrich [Fri, 11 Mar 2005 23:07:40 +0000 (23:07 +0000)]
Work around a bug in libtool ver. 1.5 during LDAP library detection.
Daniel Stenberg [Fri, 11 Mar 2005 15:18:46 +0000 (15:18 +0000)]
added CURL_VERSION_SSPI
Daniel Stenberg [Fri, 11 Mar 2005 15:10:36 +0000 (15:10 +0000)]
curl_version_info() returns the feature bit CURL_VERSION_SSPI
Daniel Stenberg [Fri, 11 Mar 2005 15:10:08 +0000 (15:10 +0000)]
fixed two leftover from Christopher's patch
Daniel Stenberg [Fri, 11 Mar 2005 08:34:51 +0000 (08:34 +0000)]
the ares_parse_aaaa_reply man page
Daniel Stenberg [Fri, 11 Mar 2005 08:14:36 +0000 (08:14 +0000)]
Check for winsock.h to work with win32. Only include system headers we know
exist.
Daniel Stenberg [Fri, 11 Mar 2005 08:06:57 +0000 (08:06 +0000)]
Replace AC_TRY_RUN() with AC_EGREP_CPP() when checking for constants to
work fine with cross-compiled builds.
Daniel Stenberg [Fri, 11 Mar 2005 08:03:20 +0000 (08:03 +0000)]
oops, once is enough! ;-)
Daniel Stenberg [Fri, 11 Mar 2005 07:53:42 +0000 (07:53 +0000)]
Define HAVE_AF_INET6_H for Netware too, as Guenter Knauf's builds indicate.
Dan Fandrich [Fri, 11 Mar 2005 07:52:24 +0000 (07:52 +0000)]
Added HAVE_AF_INET6 to Netware's config.h
Dan Fandrich [Fri, 11 Mar 2005 05:49:04 +0000 (05:49 +0000)]
Fixed some compiler warnings.
Dan Fandrich [Fri, 11 Mar 2005 05:39:37 +0000 (05:39 +0000)]
Added HAVE_STRUCT_IN6_ADDR to Netware's config.h
Dan Fandrich [Fri, 11 Mar 2005 05:28:07 +0000 (05:28 +0000)]
Fixed LDAP library file name bug (KNOWN_BUGS #1). configure now auto-detects
the correct dynamic library names by default, and provides override switches
--with-ldap-lib, --with-lber-lib and --without-lber-lib. Added
CURL_DISABLE_LDAP to platform-specific config files to disable LDAP
support on those platforms that probably don't have dynamic OpenLDAP
libraries available to avoid compile errors.
Daniel Stenberg [Fri, 11 Mar 2005 00:44:32 +0000 (00:44 +0000)]
Add an alert already here if 'make test' is attempted for a cross-compile
since there's no use building the whole test suite first and _then_ tell it
doesn't work anyway...
Daniel Stenberg [Fri, 11 Mar 2005 00:20:30 +0000 (00:20 +0000)]
no more rewriting of the setup file
Daniel Stenberg [Thu, 10 Mar 2005 23:30:34 +0000 (23:30 +0000)]
Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The
first little steps towards IPv6 support!
Daniel Stenberg [Thu, 10 Mar 2005 23:15:29 +0000 (23:15 +0000)]
Christopher R. Palmer made it possible to build libcurl with the
USE_WINDOWS_SSPI on Windows, and then libcurl will be built to use the native
way to do NTLM. SSPI also allows libcurl to pass on the current user and its
password in the request.
Daniel Stenberg [Wed, 9 Mar 2005 23:35:14 +0000 (23:35 +0000)]
configure, socks, debug, getdate
Daniel Stenberg [Wed, 9 Mar 2005 22:13:52 +0000 (22:13 +0000)]
As reported by 'nodak sodak' we should check for a NULL pointer before
referencing the proxy name pointer.
Dan Fandrich [Wed, 9 Mar 2005 18:40:41 +0000 (18:40 +0000)]
Stopped linking to the SSL libs if a full installation isn't found.
Removed a redundant library check.
Daniel Stenberg [Wed, 9 Mar 2005 07:56:32 +0000 (07:56 +0000)]
skip the test of "2094 Nov 6" for now, since the 64bit time_t systems return
different values for it...
Daniel Stenberg [Tue, 8 Mar 2005 22:21:59 +0000 (22:21 +0000)]
remove old printf() debug leftover
Daniel Stenberg [Tue, 8 Mar 2005 16:31:56 +0000 (16:31 +0000)]
mktime() returns a time_t. time_t is often 32 bits, even on many architectures
that feature 64 bit 'long'.
Some systems have 64 bit time_t and deal with years beyond 2038. However, even
some of the systems with 64 bit time_t returns -1 for dates beyond 03:14:07
UTC, January 19, 2038. (Such as AIX 5100-06)
Daniel Stenberg [Tue, 8 Mar 2005 11:15:29 +0000 (11:15 +0000)]
days are english
Daniel Stenberg [Tue, 8 Mar 2005 08:09:14 +0000 (08:09 +0000)]
Dominick Meglio reported that using CURLOPT_FILETIME when transferring a FTP
file got a Last-Modified: header written to the data stream, corrupting the
actual data. This was because some conditions from the previous FTP code was
not properly brought into the new FTP code. I fixed and I added test case 520
to verify. (This bug was introduced in 7.13.1)
Dan Fandrich [Tue, 8 Mar 2005 03:24:49 +0000 (03:24 +0000)]
Fixed the --with-zlib configure option so that it always adds the specified
path to the compiler flags. Before, a zlib installation in the default
path was always used in preference to the one in the desired location.
Dan Fandrich [Mon, 7 Mar 2005 18:59:04 +0000 (18:59 +0000)]
fseek() with SEEK_SET is broken on large file capable 32-bit systems, so
revert to the SEEK_END method of repositioning the stream after a ftruncate()
and only use SEEK_SET if ftruncate() isn't available.
Daniel Stenberg [Mon, 7 Mar 2005 08:29:28 +0000 (08:29 +0000)]
test 236: FTP resume upload but denied access to remote file
Daniel Stenberg [Mon, 7 Mar 2005 08:11:36 +0000 (08:11 +0000)]
valgrind.pm fixed
Daniel Stenberg [Sun, 6 Mar 2005 22:33:05 +0000 (22:33 +0000)]
added valgrind.pm to the dist
Dan Fandrich [Sat, 5 Mar 2005 00:54:16 +0000 (00:54 +0000)]
Better cope with a failed or unavailable ftruncate().
Added HAVE_FTRUNCATE to all the static config-*.h files on the assumption
that all those systems provide it.
Daniel Stenberg [Sat, 5 Mar 2005 00:04:52 +0000 (00:04 +0000)]
Samuel Díaz García's correction
Daniel Stenberg [Fri, 4 Mar 2005 23:52:06 +0000 (23:52 +0000)]
Added test case 235 that makes a resumed upload of a file that isn't present
on the remote side. This then converts the operation to an ordinary STOR
upload. This was requested/pointed out by Ignacio Vazquez-Abrams.
It also proved (and I fixed) a bug in the newly rewritten ftp code (and
present in the 7.13.1 release) when trying to resume an upload and the servers
returns an error to the SIZE command. libcurl then loops and sends SIZE
commands infinitely.
Dan Fandrich [Fri, 4 Mar 2005 22:36:56 +0000 (22:36 +0000)]
Reduced the length of data read from the random entropy file.
Dan Fandrich [Fri, 4 Mar 2005 20:10:29 +0000 (20:10 +0000)]
Don't try to read the whole of the random file because when /dev/urandom is
used, it slows initialization too much reading an infinitely long file!
Daniel Stenberg [Fri, 4 Mar 2005 15:42:33 +0000 (15:42 +0000)]
7.13.2-CVS
Daniel Stenberg [Fri, 4 Mar 2005 14:09:04 +0000 (14:09 +0000)]
starting over
Daniel Stenberg [Fri, 4 Mar 2005 13:41:46 +0000 (13:41 +0000)]
stand clear for release time
Daniel Stenberg [Fri, 4 Mar 2005 00:26:50 +0000 (00:26 +0000)]
Dave Dribin made it possible to set CURLOPT_COOKIEFILE to "" to activate
the cookie "engine" without having to provide an empty or non-existing file.
Daniel Stenberg [Fri, 4 Mar 2005 00:24:52 +0000 (00:24 +0000)]
killed trailing whitespace
Daniel Stenberg [Fri, 4 Mar 2005 00:14:45 +0000 (00:14 +0000)]
killed trailing whitespace
Daniel Stenberg [Fri, 4 Mar 2005 00:12:02 +0000 (00:12 +0000)]
Rene Rebe fixed a -# crash when more data than expected was retrieved.
Daniel Stenberg [Thu, 3 Mar 2005 23:27:09 +0000 (23:27 +0000)]
new VB binding
Daniel Stenberg [Thu, 3 Mar 2005 23:25:13 +0000 (23:25 +0000)]
VB binding, updated the .NET info
Daniel Stenberg [Thu, 3 Mar 2005 13:13:21 +0000 (13:13 +0000)]
mention buffer overflows fixed
Daniel Stenberg [Thu, 3 Mar 2005 06:51:31 +0000 (06:51 +0000)]
fix the distribution files
Dan Fandrich [Mon, 28 Feb 2005 23:54:17 +0000 (23:54 +0000)]
Fix for a base64 decode heap buffer overflow vulnerability.
Dan Fandrich [Thu, 24 Feb 2005 18:54:23 +0000 (18:54 +0000)]
Fixed some compiler warnings. Fixed a low incidence memory leak in the test server.
Daniel Stenberg [Tue, 22 Feb 2005 18:39:40 +0000 (18:39 +0000)]
Updated as suggested by Samuel Díaz García
Daniel Stenberg [Tue, 22 Feb 2005 12:20:30 +0000 (12:20 +0000)]
krb4 fixed
Daniel Stenberg [Tue, 22 Feb 2005 12:10:30 +0000 (12:10 +0000)]
Curl_base64_decode() now returns an allocated buffer
Daniel Stenberg [Tue, 22 Feb 2005 07:44:14 +0000 (07:44 +0000)]
Thanks for the notification iDEFENCE. We are the "initial vendor" and we sure
got no notification, no mail, no nothing.
You didn't even bother to mail us when you went public with this. Cool.
NTLM buffer overflow fix, as reported here:
http://www.securityfocus.com/archive/1/391042
Daniel Stenberg [Sat, 19 Feb 2005 22:33:06 +0000 (22:33 +0000)]
added test case 234 which is like 233 but uses --location-trusted instead so
thus the second request to the new host will use authentication fine
Daniel Stenberg [Fri, 18 Feb 2005 23:53:07 +0000 (23:53 +0000)]
Ralph Mitchell reported a flaw when you used a proxy with auth, and you
requested data from a host and then followed a redirect to another
host. libcurl then didn't use the proxy-auth properly in the second request,
due to the host-only check for original host name wrongly being extended to
the proxy auth as well. Added test case 233 to verify the flaw and that the
fix removed the problem.
Daniel Stenberg [Fri, 18 Feb 2005 11:54:52 +0000 (11:54 +0000)]
socket leak, mingw build
Daniel Stenberg [Fri, 18 Feb 2005 08:24:53 +0000 (08:24 +0000)]
Based on Mike Dobbs' report, BUILDING_LIBCURL is now defined in here if it
runs to build with mingw.
Daniel Stenberg [Thu, 17 Feb 2005 14:45:03 +0000 (14:45 +0000)]
close the socket properly when returning error due to failing localbind
Bug report #
1124588 by David
Daniel Stenberg [Thu, 17 Feb 2005 07:47:32 +0000 (07:47 +0000)]
mention filename= for the -F
Daniel Stenberg [Wed, 16 Feb 2005 14:31:23 +0000 (14:31 +0000)]
Christopher R. Palmer reported a problem with HTTP-POSTing using "anyauth"
that picks NTLM. Thanks to David Byron letting me test NTLM against his
servers, I could quickly repeat and fix the problem. It turned out to be:
When libcurl POSTs without knowing/using an authentication and it gets back a
list of types from which it picks NTLM, it needs to either continue sending
its data if it keeps the connection alive, or not send the data but close the
connection. Then do the first step in the NTLM auth. libcurl didn't send the
data nor close the connection but simply read the response-body and then sent
the first negotiation step. Which then failed miserably of course. The fixed
version forces a connection if there is more than 2000 bytes left to send.
Daniel Stenberg [Mon, 14 Feb 2005 23:50:29 +0000 (23:50 +0000)]
check for ENGINE_load_builtin_engines() as well if engine is around
Marty Kuhrt [Mon, 14 Feb 2005 22:37:59 +0000 (22:37 +0000)]
changed config-vms info
Marty Kuhrt [Mon, 14 Feb 2005 22:36:21 +0000 (22:36 +0000)]
changed curlmsg.* entries to see if CVS would ignore it now