platform/upstream/curl.git
19 years agoMade the server send data to the control/data connections using two dedicated
Daniel Stenberg [Tue, 29 Mar 2005 09:09:58 +0000 (09:09 +0000)]
Made the server send data to the control/data connections using two dedicated
functions. This enabled me to add a function that automatically delays between
each byte, to proper test curl's ability to read FTP server responses sent in
many (small) chunks. See also upcoming libcurl fixes...

19 years agoBased on Augustus Saunders' comments and findings, the HTTP output auth
Daniel Stenberg [Mon, 28 Mar 2005 22:19:31 +0000 (22:19 +0000)]
Based on Augustus Saunders' comments and findings, the HTTP output auth
function was fixed to use the proper proxy authentication when multiple ones
were added as accepted. test 239 and test 243 were added to repeat the
problems and verify the fixes.

19 years agoAdded --proxy-anyauth
Daniel Stenberg [Mon, 28 Mar 2005 22:17:49 +0000 (22:17 +0000)]
Added --proxy-anyauth

19 years agomodified some log outputs, added comment about auth required as used in
Daniel Stenberg [Mon, 28 Mar 2005 22:15:17 +0000 (22:15 +0000)]
modified some log outputs, added comment about auth required as used in
test 154

19 years agocan you spell copy and paste error for me loud and clear? ;-P
Daniel Stenberg [Tue, 22 Mar 2005 19:58:00 +0000 (19:58 +0000)]
can you spell copy and paste error for me loud and clear? ;-P

19 years agoprovide HTML and PDF versions of the man pages in the dist archive
Daniel Stenberg [Tue, 22 Mar 2005 19:46:49 +0000 (19:46 +0000)]
provide HTML and PDF versions of the man pages in the dist archive

19 years agoWhen cross-compiling, we do some better checking for the NI_WITHSCOPEID option instea...
Daniel Stenberg [Tue, 22 Mar 2005 18:02:06 +0000 (18:02 +0000)]
When cross-compiling, we do some better checking for the NI_WITHSCOPEID option instead of just assuming it is present.

19 years agoCURL_EXTERN is already in <curl/curl.h>.
Gisle Vanem [Tue, 22 Mar 2005 10:37:26 +0000 (10:37 +0000)]
CURL_EXTERN is already in <curl/curl.h>.

19 years agoPrevent redefinition warning with CURLDEBUG.
Gisle Vanem [Tue, 22 Mar 2005 10:36:20 +0000 (10:36 +0000)]
Prevent redefinition warning with CURLDEBUG.

19 years agomoved out the changes from 2004 to CHANGES.2004
Daniel Stenberg [Tue, 22 Mar 2005 09:23:56 +0000 (09:23 +0000)]
moved out the changes from 2004 to CHANGES.2004

19 years agoFixed typo.
Dan Fandrich [Tue, 22 Mar 2005 01:24:27 +0000 (01:24 +0000)]
Fixed typo.

19 years agothe same fix here too, typecast to prevent win32 compiler warning
Daniel Stenberg [Mon, 21 Mar 2005 22:38:45 +0000 (22:38 +0000)]
the same fix here too, typecast to prevent win32 compiler warning

19 years agotypecase to fix win32 compiler warning (and intended as other code is)
Daniel Stenberg [Mon, 21 Mar 2005 22:37:18 +0000 (22:37 +0000)]
typecase to fix win32 compiler warning (and intended as other code is)

19 years agoModified the VALID_SOCK() macro to become VERIFY_SOCK() instead. It is slighly
Daniel Stenberg [Mon, 21 Mar 2005 22:34:07 +0000 (22:34 +0000)]
Modified the VALID_SOCK() macro to become VERIFY_SOCK() instead. It is slighly
more involved, but should hopefully not generate any compiler warnings on
win32 systems (that can't check the socket based on the numeric).

19 years agoMake NTLM tests depend on the NTLM feature at not SSL, since the NTLM support
Daniel Stenberg [Mon, 21 Mar 2005 08:14:32 +0000 (08:14 +0000)]
Make NTLM tests depend on the NTLM feature at not SSL, since the NTLM support
is no longer only present when built with SSL support.

19 years agoformat mistake
Daniel Stenberg [Mon, 21 Mar 2005 07:45:18 +0000 (07:45 +0000)]
format mistake

19 years agoremoved a (fairly useless) debug output just to compile without warning
Daniel Stenberg [Sun, 20 Mar 2005 12:46:11 +0000 (12:46 +0000)]
removed a (fairly useless) debug output just to compile without warning

19 years agosilence win32 compiler warnings
Daniel Stenberg [Sun, 20 Mar 2005 12:29:15 +0000 (12:29 +0000)]
silence win32 compiler warnings

19 years agoattempt to fix the ares link breakage with --enable-debug in libcurl and here
Daniel Stenberg [Sun, 20 Mar 2005 00:38:50 +0000 (00:38 +0000)]
attempt to fix the ares link breakage with --enable-debug in libcurl and here

19 years agosilence warnings on win32 about static functions that are never used
Daniel Stenberg [Sat, 19 Mar 2005 01:03:46 +0000 (01:03 +0000)]
silence warnings on win32 about static functions that are never used

19 years agosome additional debug output
Daniel Stenberg [Sat, 19 Mar 2005 01:00:00 +0000 (01:00 +0000)]
some additional debug output

19 years agofix compiler warning
Daniel Stenberg [Sat, 19 Mar 2005 00:44:55 +0000 (00:44 +0000)]
fix compiler warning

19 years agoFixed spelling of --runtestopts
Dan Fandrich [Fri, 18 Mar 2005 18:41:50 +0000 (18:41 +0000)]
Fixed spelling of --runtestopts

19 years agoNetware builds don't use configure.
Dan Fandrich [Fri, 18 Mar 2005 18:03:38 +0000 (18:03 +0000)]
Netware builds don't use configure.

19 years agofix by Kyrre Kristiansen
Daniel Stenberg [Fri, 18 Mar 2005 10:16:49 +0000 (10:16 +0000)]
fix by Kyrre Kristiansen

19 years agoadjust to use plain 'make' even for cross-compiles if using configure-
Daniel Stenberg [Fri, 18 Mar 2005 09:21:25 +0000 (09:21 +0000)]
adjust to use plain 'make' even for cross-compiles if using configure-
style build

19 years agoa Common Lisp binding
Daniel Stenberg [Fri, 18 Mar 2005 09:01:42 +0000 (09:01 +0000)]
a Common Lisp binding

19 years agoChange the bogus address used in test237 to be more reliable when run
Dan Fandrich [Thu, 17 Mar 2005 20:50:17 +0000 (20:50 +0000)]
Change the bogus address used in test237 to be more reliable when run
on a host with a buggy resolver that strips all but the bottom 8 bits of
each octet.  The resolved address in this case (192.0.2.127) is guaranteed
never to belong to a real host (see RFC3330).

19 years agoUse the proper macro to do uClibc detection.
Dan Fandrich [Thu, 17 Mar 2005 20:32:59 +0000 (20:32 +0000)]
Use the proper macro to do uClibc detection.

19 years agoinclude inet_pton.h
Daniel Stenberg [Thu, 17 Mar 2005 19:12:15 +0000 (19:12 +0000)]
include inet_pton.h

19 years agoadded descriptions
Daniel Stenberg [Thu, 17 Mar 2005 12:16:24 +0000 (12:16 +0000)]
added descriptions

19 years agoupdate year
Daniel Stenberg [Thu, 17 Mar 2005 12:00:23 +0000 (12:00 +0000)]
update year

19 years agodon't set TEST_F to blank when --runtestopts isn't used, as that will override
Daniel Stenberg [Thu, 17 Mar 2005 09:44:09 +0000 (09:44 +0000)]
don't set TEST_F to blank when --runtestopts isn't used, as that will override
the default options set in the Makefile

19 years agosupport multiple error codes for a test case since some things just vary
Daniel Stenberg [Thu, 17 Mar 2005 08:17:48 +0000 (08:17 +0000)]
support multiple error codes for a test case since some things just vary
between platforms

19 years agoadd 'FTP ASCII transfers' here, since they seem to be frequently attempted
Daniel Stenberg [Thu, 17 Mar 2005 08:09:10 +0000 (08:09 +0000)]
add 'FTP ASCII transfers' here, since they seem to be frequently attempted
these days...!

19 years agoadd new option
Daniel Stenberg [Thu, 17 Mar 2005 08:04:08 +0000 (08:04 +0000)]
add new option

19 years agoadd new file
Daniel Stenberg [Thu, 17 Mar 2005 08:04:00 +0000 (08:04 +0000)]
add new file

19 years agoits a start
Daniel Stenberg [Thu, 17 Mar 2005 08:03:46 +0000 (08:03 +0000)]
its a start

19 years agouse Curl_inet_pton(), not inet_pton().
Daniel Stenberg [Thu, 17 Mar 2005 07:40:15 +0000 (07:40 +0000)]
use Curl_inet_pton(), not inet_pton().

19 years agoAdded the --runtestsopts option to testcurl.pl to override the default
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).

19 years agoRemoved references to config-vms.h from the makefiles.
Dan Fandrich [Wed, 16 Mar 2005 23:09:39 +0000 (23:09 +0000)]
Removed references to config-vms.h from the makefiles.

19 years agoRemoved old VMS config files (on behalf of Marty Kuhrt). The VMS build
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/

19 years agomore
Daniel Stenberg [Wed, 16 Mar 2005 22:03:55 +0000 (22:03 +0000)]
more

19 years agocheck for the HTTPS server in a manner similar to how we check for the HTTP
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

19 years ago- Tru64 and some IRIX boxes seem to not like test 237 as it is. Their
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.

19 years agoFixed some compiler warnings I should have noticed before.
Dan Fandrich [Wed, 16 Mar 2005 02:25:12 +0000 (02:25 +0000)]
Fixed some compiler warnings I should have noticed before.

19 years agoFixed ftp support with uClibc due to differing inet_ntoa_r() behaviour.
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.

19 years agotest EPSV and PASV response handling when they get well-formated data back
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

19 years agoinitial man page attempt for testcurl.pl
Daniel Stenberg [Tue, 15 Mar 2005 12:13:37 +0000 (12:13 +0000)]
initial man page attempt for testcurl.pl

19 years agonew options to testcurl.pl, fixed curl-config and removed compiler warnings
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

19 years agoadded missing features to curl-config
Daniel Stenberg [Tue, 15 Mar 2005 07:49:47 +0000 (07:49 +0000)]
added missing features to curl-config

19 years agononsense change for(;;) => while(1) just to prevent gcc from warning on
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

19 years agoprevent compiler warning
Daniel Stenberg [Tue, 15 Mar 2005 07:47:59 +0000 (07:47 +0000)]
prevent compiler warning

19 years agoAdded lots of new command line options, made confsuffix get set based on
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.

19 years agoFinally fixed the LDAP library searching bug on libtool ver. 1.5
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

19 years agoMake nonexistent host names absolute so tests will pass on machines
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.

19 years agoUse the libtool variables better to make LDAP library search work on
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.

19 years agohushing up more warnings
Daniel Stenberg [Mon, 14 Mar 2005 15:51:10 +0000 (15:51 +0000)]
hushing up more warnings

19 years agosilence compiler warnings for mingw win32 builds --enable-debug
Daniel Stenberg [Mon, 14 Mar 2005 15:43:23 +0000 (15:43 +0000)]
silence compiler warnings for mingw win32 builds --enable-debug

19 years agoshow LDFLAGS too
Daniel Stenberg [Mon, 14 Mar 2005 12:26:29 +0000 (12:26 +0000)]
show LDFLAGS too

19 years agoif ws2_32 is used, append the lib last in the LIBS list (too) to make it
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

19 years agoAvoid "unused variable" warnings.
Gisle Vanem [Mon, 14 Mar 2005 09:37:08 +0000 (09:37 +0000)]
Avoid "unused variable" warnings.

19 years agoconfigure --enable-sspi
Daniel Stenberg [Mon, 14 Mar 2005 08:15:06 +0000 (08:15 +0000)]
configure --enable-sspi

19 years agosecurity.h is removed
Daniel Stenberg [Mon, 14 Mar 2005 07:46:42 +0000 (07:46 +0000)]
security.h is removed

19 years agotwo issues fixed
Daniel Stenberg [Mon, 14 Mar 2005 00:52:14 +0000 (00:52 +0000)]
two issues fixed

19 years agoinclude security.h with lowercase s to work on cross-compiled mingw
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

19 years agoRemoved security.h since it shadows an include file mingw needs when building
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.

19 years agoAdded --enable-sspi that now make libcurl build with SSPI support. This only
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.

19 years agoPrevent gcc warning.
Gisle Vanem [Sun, 13 Mar 2005 09:21:54 +0000 (09:21 +0000)]
Prevent gcc warning.

19 years agofound a common lisp binding
Daniel Stenberg [Sat, 12 Mar 2005 22:55:57 +0000 (22:55 +0000)]
found a common lisp binding

19 years ago--form-string
Daniel Stenberg [Sat, 12 Mar 2005 19:49:55 +0000 (19:49 +0000)]
--form-string

19 years agoDavid Houlder added --form-string
Daniel Stenberg [Sat, 12 Mar 2005 19:39:27 +0000 (19:39 +0000)]
David Houlder added --form-string

19 years agoSwap <security.h> and <sspi.h> (needed for MingW).
Gisle Vanem [Sat, 12 Mar 2005 17:31:15 +0000 (17:31 +0000)]
Swap <security.h> and <sspi.h> (needed for MingW).

19 years agoWork around a bug in libtool ver. 1.5 during LDAP library detection.
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.

19 years agoadded CURL_VERSION_SSPI
Daniel Stenberg [Fri, 11 Mar 2005 15:18:46 +0000 (15:18 +0000)]
added CURL_VERSION_SSPI

19 years agocurl_version_info() returns the feature bit 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

19 years agofixed two leftover from Christopher's patch
Daniel Stenberg [Fri, 11 Mar 2005 15:10:08 +0000 (15:10 +0000)]
fixed two leftover from Christopher's patch

19 years agothe ares_parse_aaaa_reply man page
Daniel Stenberg [Fri, 11 Mar 2005 08:34:51 +0000 (08:34 +0000)]
the ares_parse_aaaa_reply man page

19 years agoCheck for winsock.h to work with win32. Only include system headers we know
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.

19 years agoReplace AC_TRY_RUN() with AC_EGREP_CPP() when checking for constants to
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.

19 years agooops, once is enough! ;-)
Daniel Stenberg [Fri, 11 Mar 2005 08:03:20 +0000 (08:03 +0000)]
oops, once is enough! ;-)

19 years agoDefine HAVE_AF_INET6_H for Netware too, as Guenter Knauf's builds indicate.
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.

19 years agoAdded HAVE_AF_INET6 to Netware's config.h
Dan Fandrich [Fri, 11 Mar 2005 07:52:24 +0000 (07:52 +0000)]
Added HAVE_AF_INET6 to Netware's config.h

19 years agoFixed some compiler warnings.
Dan Fandrich [Fri, 11 Mar 2005 05:49:04 +0000 (05:49 +0000)]
Fixed some compiler warnings.

19 years agoAdded HAVE_STRUCT_IN6_ADDR to Netware's config.h
Dan Fandrich [Fri, 11 Mar 2005 05:39:37 +0000 (05:39 +0000)]
Added HAVE_STRUCT_IN6_ADDR to Netware's config.h

19 years agoFixed LDAP library file name bug (KNOWN_BUGS #1). configure now auto-detects
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.

19 years agoAdd an alert already here if 'make test' is attempted for a cross-compile
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...

19 years agono more rewriting of the setup file
Daniel Stenberg [Fri, 11 Mar 2005 00:20:30 +0000 (00:20 +0000)]
no more rewriting of the setup file

19 years agoDominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The
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!

19 years agoChristopher R. Palmer made it possible to build libcurl with the
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.

19 years agoconfigure, socks, debug, getdate
Daniel Stenberg [Wed, 9 Mar 2005 23:35:14 +0000 (23:35 +0000)]
configure, socks, debug, getdate

19 years agoAs reported by 'nodak sodak' we should check for a NULL pointer before
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.

19 years agoStopped linking to the SSL libs if a full installation isn't found.
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.

19 years agoskip the test of "2094 Nov 6" for now, since the 64bit time_t systems return
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...

19 years agoremove old printf() debug leftover
Daniel Stenberg [Tue, 8 Mar 2005 22:21:59 +0000 (22:21 +0000)]
remove old printf() debug leftover

19 years agomktime() returns a time_t. time_t is often 32 bits, even on many architectures
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)

19 years agodays are english
Daniel Stenberg [Tue, 8 Mar 2005 11:15:29 +0000 (11:15 +0000)]
days are english

19 years agoDominick Meglio reported that using CURLOPT_FILETIME when transferring a FTP
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)

19 years agoFixed the --with-zlib configure option so that it always adds the specified
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.

19 years agofseek() with SEEK_SET is broken on large file capable 32-bit systems, so
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.