platform/upstream/curl.git
19 years agoAdd support for server 'ftp2' which is a second FTP server. Useful for 3rd
Daniel Stenberg [Mon, 17 Jan 2005 20:20:34 +0000 (20:20 +0000)]
Add support for server 'ftp2' which is a second FTP server. Useful for 3rd
party transfer tests or tests that need two FTP servers.

19 years agosupport the new --id command line option, that allows a second (or third or
Daniel Stenberg [Mon, 17 Jan 2005 19:49:12 +0000 (19:49 +0000)]
support the new --id command line option, that allows a second (or third or
whatever) instance to run without overwriting the previous' logfiles

19 years agomention the name-prefix protocol guess thing
Daniel Stenberg [Mon, 17 Jan 2005 14:57:21 +0000 (14:57 +0000)]
mention the name-prefix protocol guess thing

19 years agoupdated the wording for -B/--use-ascii
Daniel Stenberg [Mon, 17 Jan 2005 09:18:04 +0000 (09:18 +0000)]
updated the wording for -B/--use-ascii

19 years agoAlex aka WindEagle pointed out that when doing "curl -v dictionary.com", curl
Daniel Stenberg [Sun, 16 Jan 2005 08:51:52 +0000 (08:51 +0000)]
Alex aka WindEagle pointed out that when doing "curl -v dictionary.com", curl
assumed this used the DICT protocol. While guessing protocols will remain
fuzzy, I've now made sure that the host names must start with "[protocol]."
for them to be a valid guessable name. I also removed "https" as a prefix that
indicates HTTPS, since we hardly ever see any host names using that.

19 years agomention --netrc in the -u description
Daniel Stenberg [Sun, 16 Jan 2005 08:34:18 +0000 (08:34 +0000)]
mention --netrc in the -u description

19 years agoerrrno can by freak accident become EINTR on DOS or
Gisle Vanem [Sat, 15 Jan 2005 09:26:07 +0000 (09:26 +0000)]
errrno can by freak accident become EINTR on DOS or
Windows (unrelated to select). select() can never set errno
to EINTR on Windows.

19 years agooutput better error detection, like when ipv6 can't resolve
Daniel Stenberg [Sat, 15 Jan 2005 09:21:51 +0000 (09:21 +0000)]
output better error detection, like when ipv6 can't resolve

19 years agoAdded README.hostip
Daniel Stenberg [Fri, 14 Jan 2005 13:43:29 +0000 (13:43 +0000)]
Added README.hostip

19 years agoverify the protocol too
Daniel Stenberg [Fri, 14 Jan 2005 09:39:20 +0000 (09:39 +0000)]
verify the protocol too

19 years agoInspired by Martijn Koster's patch and example source at
Daniel Stenberg [Thu, 13 Jan 2005 21:51:48 +0000 (21:51 +0000)]
Inspired by Martijn Koster's patch and example source at
http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c, I now made the
select() and poll() calls properly loop if they return -1 and errno is
EINTR. glibc docs for this is found here:
http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html

This last link says BSD doesn't have this "effect". Will there be a problem
if we do this unconditionally?
S: ----------------------------------------------------------------------

19 years agoAdded dependencies.
Gisle Vanem [Wed, 12 Jan 2005 15:32:41 +0000 (15:32 +0000)]
Added dependencies.

19 years agoAdded '-bd' option; target is a DLL.
Gisle Vanem [Wed, 12 Jan 2005 15:32:26 +0000 (15:32 +0000)]
Added '-bd' option; target is a DLL.
Added dependencies.

19 years agosupport for retrieving used IP addresses
Daniel Stenberg [Tue, 11 Jan 2005 22:26:00 +0000 (22:26 +0000)]
support for retrieving used IP addresses

19 years agoDan Torop cleaned up a few no longer used variables from David Phillips'
Daniel Stenberg [Tue, 11 Jan 2005 20:22:44 +0000 (20:22 +0000)]
Dan Torop cleaned up a few no longer used variables from David Phillips'
select() overhaul fix.

19 years agoRemoved CURLTOOLDEBUG. It caused libcurl_wc.dll
Gisle Vanem [Tue, 11 Jan 2005 17:08:47 +0000 (17:08 +0000)]
Removed CURLTOOLDEBUG. It caused libcurl_wc.dll
to fail in mysterious ways.

19 years agoRenamed easy.h and multi.h to easyif.h and multiif.h to make sure they don't
Daniel Stenberg [Tue, 11 Jan 2005 15:25:29 +0000 (15:25 +0000)]
Renamed easy.h and multi.h to easyif.h and multiif.h to make sure they don't
shadow our public headers with the former names.

19 years ago".\lib\easy.h" shadows for <curl/easy.h> in Watcom.
Gisle Vanem [Tue, 11 Jan 2005 14:59:24 +0000 (14:59 +0000)]
".\lib\easy.h" shadows for <curl/easy.h> in Watcom.
Force including ../include/curl/easy.h.

19 years agoFix '!if' expression.
Gisle Vanem [Tue, 11 Jan 2005 14:52:42 +0000 (14:52 +0000)]
Fix '!if' expression.

19 years ago".\lib\multi.h" shadows for <curl/multi.h> in Watcom.
Gisle Vanem [Tue, 11 Jan 2005 14:32:09 +0000 (14:32 +0000)]
".\lib\multi.h" shadows for <curl/multi.h> in Watcom.
Force including ../include/curl/multi.h.

19 years agoCyrill Osterwalder posted a detailed analysis about a bug that occurs when
Daniel Stenberg [Tue, 11 Jan 2005 14:00:45 +0000 (14:00 +0000)]
Cyrill Osterwalder posted a detailed analysis about a bug that occurs when
using a custom Host: header and curl fails to send a request on a re-used
persistent connection and thus creates a new connection and resends it. It
then sent two Host: headers. Cyrill's analysis was posted here:
http://curl.haxx.se/mail/archive-2005-01/0022.html

19 years agoBruce Mitchener identified (bug report #1099640) the never-ending SOCKS5
Daniel Stenberg [Mon, 10 Jan 2005 23:32:14 +0000 (23:32 +0000)]
Bruce Mitchener identified (bug report #1099640) the never-ending SOCKS5
problem with the version byte and the check for bad versions. Bruce has lots
of clues on this, and based on his suggestion I've now removed the check of
that byte since it seems to be able to contain 1 or 5.

19 years agoUse Curl_easy_addmulti() to clear associations from easy handles to multi
Daniel Stenberg [Mon, 10 Jan 2005 11:42:20 +0000 (11:42 +0000)]
Use Curl_easy_addmulti() to clear associations from easy handles to multi
handles. Include multi.h to get proto.

19 years agoedited wording
Daniel Stenberg [Mon, 10 Jan 2005 11:27:02 +0000 (11:27 +0000)]
edited wording

19 years agoPavel Orehov reported memory problems with the multi interface in bug report
Daniel Stenberg [Mon, 10 Jan 2005 10:07:07 +0000 (10:07 +0000)]
Pavel Orehov reported memory problems with the multi interface in bug report
#1098843. In short, a shared DNS cache was setup for a multi handle and when
the shared cache was deleted before the individual easy handles, the latter
cleanups caused read/writes to already freed memory.

19 years agoHzhijun reported a memory leak in the SSL certificate code, that leaked the
Daniel Stenberg [Mon, 10 Jan 2005 09:48:39 +0000 (09:48 +0000)]
Hzhijun reported a memory leak in the SSL certificate code, that leaked the
remote certificate name when it didn't match the used host name.

19 years agoNote about the static lib requirement; -DCURL_STATICLIB.
Gisle Vanem [Sat, 8 Jan 2005 16:35:03 +0000 (16:35 +0000)]
Note about the static lib requirement; -DCURL_STATICLIB.

19 years agoWatcom additions.
Gisle Vanem [Sat, 8 Jan 2005 16:15:06 +0000 (16:15 +0000)]
Watcom additions.

19 years agoAdded Watcom targets.
Gisle Vanem [Sat, 8 Jan 2005 16:12:27 +0000 (16:12 +0000)]
Added Watcom targets.

19 years agoNew file.
Gisle Vanem [Sat, 8 Jan 2005 16:06:37 +0000 (16:06 +0000)]
New file.

19 years agoAdded Makefile.Watcom to EXTRA_DIST.
Gisle Vanem [Sat, 8 Jan 2005 16:03:45 +0000 (16:03 +0000)]
Added Makefile.Watcom to EXTRA_DIST.

19 years agothree recent bug fixes
Daniel Stenberg [Fri, 7 Jan 2005 21:14:57 +0000 (21:14 +0000)]
three recent bug fixes

19 years agodisable the valgrind log checking
Daniel Stenberg [Fri, 7 Jan 2005 21:11:24 +0000 (21:11 +0000)]
disable the valgrind log checking

19 years agofixed the valgrind log check and make it possible to disable it for a specific
Daniel Stenberg [Fri, 7 Jan 2005 21:11:13 +0000 (21:11 +0000)]
fixed the valgrind log check and make it possible to disable it for a specific
test, see test 509

19 years agoadded test 199
Daniel Stenberg [Fri, 7 Jan 2005 21:09:50 +0000 (21:09 +0000)]
added test 199

19 years agoprevent a single byte read outside the string in test case 39
Daniel Stenberg [Thu, 6 Jan 2005 22:54:37 +0000 (22:54 +0000)]
prevent a single byte read outside the string in test case 39

19 years agofixed #1097019, multiple GET posts (-G) error
Daniel Stenberg [Thu, 6 Jan 2005 22:25:35 +0000 (22:25 +0000)]
fixed #1097019, multiple GET posts (-G) error

19 years agorecent events
Daniel Stenberg [Wed, 5 Jan 2005 14:12:06 +0000 (14:12 +0000)]
recent events

19 years agoChanged curl.dll to libcurl.dll.
Gisle Vanem [Tue, 4 Jan 2005 16:16:03 +0000 (16:16 +0000)]
Changed curl.dll to libcurl.dll.

19 years agoMinor comment fix.
Gisle Vanem [Tue, 4 Jan 2005 16:13:58 +0000 (16:13 +0000)]
Minor comment fix.

19 years agojust narrowed some text to fit within 80 cols
Daniel Stenberg [Tue, 4 Jan 2005 16:01:34 +0000 (16:01 +0000)]
just narrowed some text to fit within 80 cols

19 years agoRemoved _WIN32_WINNT to support IPv6 under Win-2K.
Gisle Vanem [Tue, 4 Jan 2005 16:00:14 +0000 (16:00 +0000)]
Removed _WIN32_WINNT to support IPv6 under Win-2K.

19 years agoMarty Kuhrt's VMS update
Daniel Stenberg [Mon, 3 Jan 2005 19:17:10 +0000 (19:17 +0000)]
Marty Kuhrt's VMS update

19 years agoreverted the bad naming of the implib names
Daniel Stenberg [Sun, 2 Jan 2005 21:15:29 +0000 (21:15 +0000)]
reverted the bad naming of the implib names

19 years agoAlex Neblett's minor update
Daniel Stenberg [Sun, 2 Jan 2005 19:19:32 +0000 (19:19 +0000)]
Alex Neblett's minor update

19 years agonah, don't use the system's getpass() function since it too often is limited
Daniel Stenberg [Sun, 26 Dec 2004 09:17:38 +0000 (09:17 +0000)]
nah, don't use the system's getpass() function since it too often is limited
to 8(!) or similar lengths passwords

19 years agoissue 54 - this takes sweat
Daniel Stenberg [Sat, 25 Dec 2004 23:15:45 +0000 (23:15 +0000)]
issue 54 - this takes sweat

19 years agoTest case 241 fails on all systems that support IPv6 but that don't have the
Daniel Stenberg [Sat, 25 Dec 2004 22:51:37 +0000 (22:51 +0000)]
Test case 241 fails on all systems that support IPv6 but that don't have the
host name 'ip6-localhost' in /etc/hosts (or similar) since the test case uses
that host name to test the IPv6 name to address resolver.

19 years ago--protocols, license, src/config.h.in
Daniel Stenberg [Sat, 25 Dec 2004 22:30:31 +0000 (22:30 +0000)]
--protocols, license, src/config.h.in

19 years ago./src/config.h.in is now removed from CVS. It is copied from the
Daniel Stenberg [Sat, 25 Dec 2004 22:10:38 +0000 (22:10 +0000)]
./src/config.h.in is now removed from CVS. It is copied from the
lib/config.h.in file by buildconf

19 years agoMy reimplementation and cleanup of the getpass source code. We officially no
Daniel Stenberg [Sat, 25 Dec 2004 22:08:02 +0000 (22:08 +0000)]
My reimplementation and cleanup of the getpass source code. We officially no
longer use Angus Mackay's getpass code due to the weirdo license his code was
donated to us under.

19 years agomention the new --protocols
Daniel Stenberg [Fri, 24 Dec 2004 09:02:23 +0000 (09:02 +0000)]
mention the new --protocols

19 years agoDavid Shaw added --protocols, and thus the --feature no longer mentions what
Daniel Stenberg [Fri, 24 Dec 2004 08:59:44 +0000 (08:59 +0000)]
David Shaw added --protocols, and thus the --feature no longer mentions what
protocols that are disabled.

19 years agoAdded LDAP library issue.
Dan Fandrich [Thu, 23 Dec 2004 22:34:00 +0000 (22:34 +0000)]
Added LDAP library issue.

19 years agorecent changes
Daniel Stenberg [Thu, 23 Dec 2004 22:31:39 +0000 (22:31 +0000)]
recent changes

and Merry Christmas!

19 years agoDavid Shaw fixed the disable variables so that curl-config --feature works
Daniel Stenberg [Thu, 23 Dec 2004 08:48:59 +0000 (08:48 +0000)]
David Shaw fixed the disable variables so that curl-config --feature works
correctly!

19 years agoissue 47 in next release?
Daniel Stenberg [Wed, 22 Dec 2004 22:46:05 +0000 (22:46 +0000)]
issue 47 in next release?

19 years agoRune Kleveland fixed a minor memory leak for received cookies with the (rare)
Daniel Stenberg [Wed, 22 Dec 2004 22:33:31 +0000 (22:33 +0000)]
Rune Kleveland fixed a minor memory leak for received cookies with the (rare)
version attribute set.

19 years agoMarcin Konicki provided two configure fixes and a source fix to make curl
Daniel Stenberg [Wed, 22 Dec 2004 22:28:10 +0000 (22:28 +0000)]
Marcin Konicki provided two configure fixes and a source fix to make curl
build out-of-the-box on BeOS.

19 years agoC ensures that static variables are initialized to 0
Dan Fandrich [Wed, 22 Dec 2004 20:12:15 +0000 (20:12 +0000)]
C ensures that static variables are initialized to 0

19 years agoadded CURLINFO_HTTP_CONNECTCODE
Daniel Stenberg [Wed, 22 Dec 2004 12:31:55 +0000 (12:31 +0000)]
added CURLINFO_HTTP_CONNECTCODE

19 years agouh, fixed!
Daniel Stenberg [Wed, 22 Dec 2004 09:21:04 +0000 (09:21 +0000)]
uh, fixed!

19 years agoAdded: 4 protocols we _could_ support and the CONNECT HTTP/1.0 detail we might
Daniel Stenberg [Wed, 22 Dec 2004 09:19:29 +0000 (09:19 +0000)]
Added: 4 protocols we _could_ support and the CONNECT HTTP/1.0 detail we might
fix one day.

19 years agomore about error codes
Daniel Stenberg [Tue, 21 Dec 2004 21:35:00 +0000 (21:35 +0000)]
more about error codes

19 years agotest enforced chunked encoding with PUT on a local file
Daniel Stenberg [Tue, 21 Dec 2004 20:19:05 +0000 (20:19 +0000)]
test enforced chunked encoding with PUT on a local file

19 years agoAdded test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made the
Daniel Stenberg [Tue, 21 Dec 2004 19:59:35 +0000 (19:59 +0000)]
Added test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made the
-w option support 'http_connect' to make it easier to verify!

19 years agooops, variables first then code
Daniel Stenberg [Tue, 21 Dec 2004 14:33:37 +0000 (14:33 +0000)]
oops, variables first then code

19 years agoPrevent failf() from using the va_list variable more than once.
Daniel Stenberg [Tue, 21 Dec 2004 14:22:10 +0000 (14:22 +0000)]
Prevent failf() from using the va_list variable more than once.
See bug report #1088962 and  Single Unix Specification:
http://www.opengroup.org/onlinepubs/007908799/xsh/vfprintf.html

19 years agomention how the FTP code should be fixed one day
Daniel Stenberg [Tue, 21 Dec 2004 10:54:21 +0000 (10:54 +0000)]
mention how the FTP code should be fixed one day

19 years agoinclude sys/types.h before sys/select.h
Daniel Stenberg [Tue, 21 Dec 2004 10:11:07 +0000 (10:11 +0000)]
include sys/types.h before sys/select.h

19 years agoset debug curl too when -c is used
Daniel Stenberg [Tue, 21 Dec 2004 10:10:40 +0000 (10:10 +0000)]
set debug curl too when -c is used

19 years agoHow do I list the root dir of an FTP server?
Daniel Stenberg [Tue, 21 Dec 2004 09:37:55 +0000 (09:37 +0000)]
How do I list the root dir of an FTP server?

19 years agoFixed a compile warning introduced by making the protocol table const. This
Dan Fandrich [Mon, 20 Dec 2004 21:14:45 +0000 (21:14 +0000)]
Fixed a compile warning introduced by making the protocol table const. This
involves a binary-compatible change to the API struct curl_version_info_data

19 years agoMake some more arrays of pointers const.
Dan Fandrich [Mon, 20 Dec 2004 18:23:43 +0000 (18:23 +0000)]
Make some more arrays of pointers const.

19 years agogcc 2.7 can't handle a few warning options that gcc 2.95 can.
Dan Fandrich [Mon, 20 Dec 2004 18:20:17 +0000 (18:20 +0000)]
gcc 2.7 can't handle a few warning options that gcc 2.95 can.

19 years agostart working on 7.12.4
Daniel Stenberg [Mon, 20 Dec 2004 13:09:38 +0000 (13:09 +0000)]
start working on 7.12.4

19 years agoand we start all over again
Daniel Stenberg [Mon, 20 Dec 2004 12:51:14 +0000 (12:51 +0000)]
and we start all over again

19 years ago7.12.3
Daniel Stenberg [Mon, 20 Dec 2004 12:35:02 +0000 (12:35 +0000)]
7.12.3

19 years agoOpenSSL updates; get CA_BUNDLE from env. Assume no
Gisle Vanem [Sun, 19 Dec 2004 11:52:31 +0000 (11:52 +0000)]
OpenSSL updates; get CA_BUNDLE from env. Assume no
Kerberos, have <pkcs12.h>, <engine.h> and built-in engines.

19 years agoRemove 'data' initialiser.
Gisle Vanem [Sun, 19 Dec 2004 11:39:34 +0000 (11:39 +0000)]
Remove 'data' initialiser.

19 years agoclarified a few changes
Daniel Stenberg [Sun, 19 Dec 2004 10:11:03 +0000 (10:11 +0000)]
clarified a few changes

19 years agofixed the solaris pkcs12 build problem
Daniel Stenberg [Sun, 19 Dec 2004 09:37:58 +0000 (09:37 +0000)]
fixed the solaris pkcs12 build problem

19 years agoif the pkcs12.h header exists, include it already in urldata.h to work around
Daniel Stenberg [Sun, 19 Dec 2004 09:37:32 +0000 (09:37 +0000)]
if the pkcs12.h header exists, include it already in urldata.h to work around
a precedence problem with the zlib header. See CHANGES for details.

19 years agocheck for openssl/pkcs12.h
Daniel Stenberg [Sun, 19 Dec 2004 09:36:54 +0000 (09:36 +0000)]
check for openssl/pkcs12.h

19 years agoSamuel Listopad added support for PKCS12 formatted certificates.
Daniel Stenberg [Sat, 18 Dec 2004 10:42:48 +0000 (10:42 +0000)]
Samuel Listopad added support for PKCS12 formatted certificates.

19 years agoSamuel Listopad fixed -E to support "C:/path" (with forward slash) as well.
Daniel Stenberg [Sat, 18 Dec 2004 10:28:31 +0000 (10:28 +0000)]
Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well.

19 years agomention the new cookie api plans
Daniel Stenberg [Sat, 18 Dec 2004 10:28:04 +0000 (10:28 +0000)]
mention the new cookie api plans

19 years agoJean-Marc Ranger pointed out that the returned data doesn't survive a call
Daniel Stenberg [Sat, 18 Dec 2004 10:24:49 +0000 (10:24 +0000)]
Jean-Marc Ranger pointed out that the returned data doesn't survive a call
to curl_multi_remove_handle() either.

19 years agoRenamed a variable to avoid conflict with a C++ reserved word.
Dan Fandrich [Fri, 17 Dec 2004 20:18:53 +0000 (20:18 +0000)]
Renamed a variable to avoid conflict with a C++ reserved word.

19 years agoWatcom has strtoll().
Gisle Vanem [Fri, 17 Dec 2004 19:57:50 +0000 (19:57 +0000)]
Watcom has strtoll().

19 years agoWatcom uses 'i64' suffix.
Gisle Vanem [Fri, 17 Dec 2004 18:33:09 +0000 (18:33 +0000)]
Watcom uses 'i64' suffix.

19 years ago<windows.h> required for Watcom.
Gisle Vanem [Fri, 17 Dec 2004 18:32:41 +0000 (18:32 +0000)]
<windows.h> required for Watcom.

19 years agos/_write/write/g
Gisle Vanem [Fri, 17 Dec 2004 18:31:40 +0000 (18:31 +0000)]
s/_write/write/g

19 years agoFix calling convention of wlap32.dll function. Watcom
Gisle Vanem [Fri, 17 Dec 2004 17:54:21 +0000 (17:54 +0000)]
Fix calling convention of wlap32.dll function. Watcom
uses fastcall by default, so force cdecl.

19 years agoWatcom has 'struct timeval'.
Gisle Vanem [Fri, 17 Dec 2004 17:49:10 +0000 (17:49 +0000)]
Watcom has 'struct timeval'.

19 years agoAdd libidn.a and iconv libraries if USE_IDNA=1.
Gisle Vanem [Fri, 17 Dec 2004 12:43:02 +0000 (12:43 +0000)]
Add libidn.a and iconv libraries if USE_IDNA=1.

19 years agoAdded option for using C-ares and libidn.
Gisle Vanem [Fri, 17 Dec 2004 12:38:06 +0000 (12:38 +0000)]
Added option for using C-ares and libidn.
Dependencies generated from $(CSOURCES).

19 years agogetdate.c is gone.
Gisle Vanem [Fri, 17 Dec 2004 12:28:04 +0000 (12:28 +0000)]
getdate.c is gone.

19 years agoPrint true netrc name (.netrc/_netrc).
Gisle Vanem [Fri, 17 Dec 2004 12:26:18 +0000 (12:26 +0000)]
Print true netrc name (.netrc/_netrc).

19 years agoavoid an extra malloc
Daniel Stenberg [Fri, 17 Dec 2004 10:09:32 +0000 (10:09 +0000)]
avoid an extra malloc