platform/upstream/curl.git
22 years agoremoved a commented line
Daniel Stenberg [Fri, 4 Jan 2002 09:53:10 +0000 (09:53 +0000)]
removed a commented line

22 years agofixed an inet_ntoa() occurance to use inet_ntoa_r() if it is available.
Daniel Stenberg [Fri, 4 Jan 2002 09:52:44 +0000 (09:52 +0000)]
fixed an inet_ntoa() occurance to use inet_ntoa_r() if it is available.
I also replaced all printf() calls with calls to Curl_failf()

22 years agoan unconditional occurance of inet_ntoa() now uses inet_ntoa_r() on all
Daniel Stenberg [Fri, 4 Jan 2002 09:38:52 +0000 (09:38 +0000)]
an unconditional occurance of inet_ntoa() now uses inet_ntoa_r() on all
platforms that have such a function.
This affects multi-thread running libcurls on IPv4 systems that have VERBOSE
switched on. The previous version was risking that another thread overwrote
the data before it was read out in this thread. There could possibly also
be a slight risk that the data isn't zero terminated for a short while and
thus could cause the thread to crash...

22 years ago#include the local "inet_ntoa_r.h" file if no proto was found in the global
Daniel Stenberg [Fri, 4 Jan 2002 09:35:23 +0000 (09:35 +0000)]
#include the local "inet_ntoa_r.h" file if no proto was found in the global
header directory but the function *is* present!

22 years agoThe buffer in ftp_pasv_verbose(), used for gethostbyaddr_r(), is now defined
Daniel Stenberg [Fri, 4 Jan 2002 09:17:52 +0000 (09:17 +0000)]
The buffer in ftp_pasv_verbose(), used for gethostbyaddr_r(), is now defined
to become properly 8-byte aligned on 64-bit archs. Philip Gladstone reported.

22 years agoThe FTP response lines are now passed to the function callback registered for
Daniel Stenberg [Fri, 4 Jan 2002 09:03:11 +0000 (09:03 +0000)]
The FTP response lines are now passed to the function callback registered for
headers.

22 years agomulti stuff from the multi-dev branch
Daniel Stenberg [Thu, 3 Jan 2002 15:03:57 +0000 (15:03 +0000)]
multi stuff from the multi-dev branch

22 years agomulti interface example/test sources from the multi-dev branch
Daniel Stenberg [Thu, 3 Jan 2002 15:03:14 +0000 (15:03 +0000)]
multi interface example/test sources from the multi-dev branch

22 years agomerged the multi-dev branch back into MAIN again
Daniel Stenberg [Thu, 3 Jan 2002 15:01:22 +0000 (15:01 +0000)]
merged the multi-dev branch back into MAIN again

22 years agoSterling Hughes' provided initial DNS cache source code.
Daniel Stenberg [Thu, 3 Jan 2002 10:22:59 +0000 (10:22 +0000)]
Sterling Hughes' provided initial DNS cache source code.

22 years agominor changes
Daniel Stenberg [Thu, 3 Jan 2002 09:43:17 +0000 (09:43 +0000)]
minor changes

22 years agoadded required software and Guido Neitzer's Mac OS X build instructions
Daniel Stenberg [Thu, 3 Jan 2002 09:12:41 +0000 (09:12 +0000)]
added required software and Guido Neitzer's Mac OS X build instructions

22 years agoadded a little percentage for "ok coverage"
Daniel Stenberg [Thu, 3 Jan 2002 08:22:05 +0000 (08:22 +0000)]
added a little percentage for "ok coverage"

22 years agoChanged how -I/--head works when --include is also used... Test case 104
Daniel Stenberg [Thu, 3 Jan 2002 08:07:29 +0000 (08:07 +0000)]
Changed how -I/--head works when --include is also used... Test case 104
stopped working after the dec-20 fixes that now supports FTP operations to
skip the transfer phase.

22 years agoPhilip Gladstone's fixes
Daniel Stenberg [Thu, 3 Jan 2002 07:23:21 +0000 (07:23 +0000)]
Philip Gladstone's fixes

22 years agopass an 'int' as the third argument to bind()
Daniel Stenberg [Thu, 3 Jan 2002 00:51:33 +0000 (00:51 +0000)]
pass an 'int' as the third argument to bind()

22 years agoPhilip Gladstone's 64-bit sparc native compiler compatibility issues fixed.
Daniel Stenberg [Wed, 2 Jan 2002 10:06:47 +0000 (10:06 +0000)]
Philip Gladstone's 64-bit sparc native compiler compatibility issues fixed.

22 years agothe changes from 1999 is now in CHANGES.1999
Daniel Stenberg [Fri, 21 Dec 2001 09:55:13 +0000 (09:55 +0000)]
the changes from 1999 is now in CHANGES.1999

22 years agomoved the changes from 1999 into its own file
Daniel Stenberg [Fri, 21 Dec 2001 09:54:45 +0000 (09:54 +0000)]
moved the changes from 1999 into its own file

22 years agorewrote 3.9 to be more generic with more languages:
Daniel Stenberg [Fri, 21 Dec 2001 09:20:04 +0000 (09:20 +0000)]
rewrote 3.9 to be more generic with more languages:
"3.9 How do I use curl in my favourite programming language?"

22 years agospell
Daniel Stenberg [Fri, 21 Dec 2001 08:10:34 +0000 (08:10 +0000)]
spell

22 years agorecent fixes
Daniel Stenberg [Fri, 21 Dec 2001 08:02:35 +0000 (08:02 +0000)]
recent fixes

22 years ago*cool* fix by Björn Stenberg, makes proxy transfers work better...! :-)
Daniel Stenberg [Thu, 20 Dec 2001 15:58:22 +0000 (15:58 +0000)]
*cool* fix by Björn Stenberg, makes proxy transfers work better...! :-)

22 years agoIf nobody is set we won't download any FTP file. If include_header is set,
Daniel Stenberg [Thu, 20 Dec 2001 11:22:01 +0000 (11:22 +0000)]
If nobody is set we won't download any FTP file. If include_header is set,
we return a set of headers not more. This enables FTP operations that don't
transfer any data, only perform FTP commands.

22 years agoAdded 4.5.6 "301 Moved Permanently", as a reply to bug report #495215
Daniel Stenberg [Wed, 19 Dec 2001 23:25:04 +0000 (23:25 +0000)]
Added 4.5.6 "301 Moved Permanently", as a reply to bug report #495215

22 years agoGötz Babin-Ebell's contributed "simplessl.c" example source code
Daniel Stenberg [Tue, 18 Dec 2001 10:13:41 +0000 (10:13 +0000)]
Götz Babin-Ebell's contributed "simplessl.c" example source code

22 years agorun automake last
Daniel Stenberg [Tue, 18 Dec 2001 01:00:24 +0000 (01:00 +0000)]
run automake last

22 years agoGötz Babin-Ebell's OpenSSL ENGINE patch
Daniel Stenberg [Mon, 17 Dec 2001 23:01:39 +0000 (23:01 +0000)]
Götz Babin-Ebell's OpenSSL ENGINE patch

22 years agostrip trailing CRs
Daniel Stenberg [Mon, 17 Dec 2001 10:32:10 +0000 (10:32 +0000)]
strip trailing CRs

22 years agocut off the description to prevent people from using this!
Daniel Stenberg [Mon, 17 Dec 2001 09:33:54 +0000 (09:33 +0000)]
cut off the description to prevent people from using this!

22 years agoMarcus Webster's added CURLFORM_CONTENTHEADER docs
Daniel Stenberg [Sun, 16 Dec 2001 12:54:42 +0000 (12:54 +0000)]
Marcus Webster's added CURLFORM_CONTENTHEADER docs

22 years agoMarcus Webster's newly added CURLFORM_CONTENTHEADER
Daniel Stenberg [Fri, 14 Dec 2001 12:59:16 +0000 (12:59 +0000)]
Marcus Webster's newly added CURLFORM_CONTENTHEADER

22 years agominor changes
Daniel Stenberg [Thu, 13 Dec 2001 07:16:27 +0000 (07:16 +0000)]
minor changes

22 years agosolaris 2.5.1 needs the sys/types.h file before the sys/socket.h
Daniel Stenberg [Tue, 11 Dec 2001 15:08:27 +0000 (15:08 +0000)]
solaris 2.5.1 needs the sys/types.h file before the sys/socket.h

22 years agofailf() calls should not have newlines in the message string!
Daniel Stenberg [Tue, 11 Dec 2001 13:13:01 +0000 (13:13 +0000)]
failf() calls should not have newlines in the message string!

22 years agowhen the file name given to -T is used to build an upload path, the local
Daniel Stenberg [Tue, 11 Dec 2001 00:48:55 +0000 (00:48 +0000)]
when the file name given to -T is used to build an upload path, the local
directory part is now stripped off and only the actual file name part will be
used

22 years agoHTTP_PROXY => http_proxy as Björn pointed out
Daniel Stenberg [Mon, 10 Dec 2001 11:59:05 +0000 (11:59 +0000)]
HTTP_PROXY => http_proxy as Björn pointed out

22 years agocorrected the READFUNCTION docs slightly
Daniel Stenberg [Mon, 10 Dec 2001 07:46:43 +0000 (07:46 +0000)]
corrected the READFUNCTION docs slightly

22 years agocorrected the comment above gmtime_r
Daniel Stenberg [Fri, 7 Dec 2001 15:56:57 +0000 (15:56 +0000)]
corrected the comment above gmtime_r

22 years agoadded gmtime_r check
Daniel Stenberg [Fri, 7 Dec 2001 15:51:59 +0000 (15:51 +0000)]
added gmtime_r check

22 years agoUpdated location information for Curl_easy
Cris Bailiff [Fri, 7 Dec 2001 09:24:42 +0000 (09:24 +0000)]
Updated location information for Curl_easy

22 years agoJason Mancini's -Oalways suggestion
Daniel Stenberg [Thu, 6 Dec 2001 14:40:16 +0000 (14:40 +0000)]
Jason Mancini's -Oalways suggestion

22 years agolet us know if curl compiles on more platforms
Daniel Stenberg [Thu, 6 Dec 2001 12:48:41 +0000 (12:48 +0000)]
let us know if curl compiles on more platforms

22 years agocurl compiles on HURD
Daniel Stenberg [Thu, 6 Dec 2001 07:11:33 +0000 (07:11 +0000)]
curl compiles on HURD

22 years ago7.9.2 commit
Daniel Stenberg [Wed, 5 Dec 2001 08:36:48 +0000 (08:36 +0000)]
7.9.2 commit

22 years agoJon Travis suggested fix. when CURLOPT_HTTPGET is used we must assign
Daniel Stenberg [Wed, 5 Dec 2001 06:47:01 +0000 (06:47 +0000)]
Jon Travis suggested fix. when CURLOPT_HTTPGET is used we must assign
set.upload to FALSE or else we might still get an upload if the previous
operation was an upload!

22 years agoEric-update
Daniel Stenberg [Tue, 4 Dec 2001 16:33:40 +0000 (16:33 +0000)]
Eric-update

22 years agoEric's updated version
Daniel Stenberg [Tue, 4 Dec 2001 13:03:27 +0000 (13:03 +0000)]
Eric's updated version

22 years agoEric's #include fixes for better macos compiles
Daniel Stenberg [Tue, 4 Dec 2001 13:03:08 +0000 (13:03 +0000)]
Eric's #include fixes for better macos compiles

22 years agoEric brought some files for macos compiles
Daniel Stenberg [Tue, 4 Dec 2001 09:16:09 +0000 (09:16 +0000)]
Eric brought some files for macos compiles

22 years agoi'm soooo funny
Daniel Stenberg [Tue, 4 Dec 2001 09:14:41 +0000 (09:14 +0000)]
i'm soooo funny

22 years agoadded macos files to the distribution archive
Daniel Stenberg [Tue, 4 Dec 2001 08:48:37 +0000 (08:48 +0000)]
added macos files to the distribution archive

22 years agomore comments
Daniel Stenberg [Tue, 4 Dec 2001 07:47:21 +0000 (07:47 +0000)]
more comments

22 years agoMacOS (not Mac OS X) compilation files
Daniel Stenberg [Tue, 4 Dec 2001 06:56:24 +0000 (06:56 +0000)]
MacOS (not Mac OS X) compilation files

22 years agoEric's update
Daniel Stenberg [Tue, 4 Dec 2001 06:52:19 +0000 (06:52 +0000)]
Eric's update

22 years agothe happy events so far today
Daniel Stenberg [Mon, 3 Dec 2001 13:56:48 +0000 (13:56 +0000)]
the happy events so far today

22 years agoAs Eric Lavigne pointed out, the ftp response reader MUST cache data that
Daniel Stenberg [Mon, 3 Dec 2001 13:48:59 +0000 (13:48 +0000)]
As Eric Lavigne pointed out, the ftp response reader MUST cache data that
is not dealt with when we find an end-of-response line, as there might be
important stuff even after the correct line. So on subsequent invokes, the
cached data must be used!

22 years agotest case 126 added, this uses RETRWEIRDO that makes the FTP server send two
Daniel Stenberg [Mon, 3 Dec 2001 13:46:56 +0000 (13:46 +0000)]
test case 126 added, this uses RETRWEIRDO that makes the FTP server send two
responses at once, to excerise the part of curl to make sure it can cache
(parts of) responses properly.

22 years agoEric nailed a but in strnequal() for macintosh
Daniel Stenberg [Mon, 3 Dec 2001 12:57:45 +0000 (12:57 +0000)]
Eric nailed a but in strnequal() for macintosh

22 years agothe final ftp ipv6 support has been added!
Daniel Stenberg [Mon, 3 Dec 2001 10:38:31 +0000 (10:38 +0000)]
the final ftp ipv6 support has been added!

22 years agoupdates
Daniel Stenberg [Mon, 3 Dec 2001 10:07:49 +0000 (10:07 +0000)]
updates

22 years agoupdated the copyright year range
Daniel Stenberg [Mon, 3 Dec 2001 10:00:19 +0000 (10:00 +0000)]
updated the copyright year range

22 years agocool.haxx.se now only allows http downloads
Daniel Stenberg [Mon, 3 Dec 2001 09:59:44 +0000 (09:59 +0000)]
cool.haxx.se now only allows http downloads

22 years agomodified the stack trace section slightly
Daniel Stenberg [Mon, 3 Dec 2001 09:44:11 +0000 (09:44 +0000)]
modified the stack trace section slightly

22 years agopre7 and pre8 details
Daniel Stenberg [Mon, 3 Dec 2001 08:22:59 +0000 (08:22 +0000)]
pre7 and pre8 details

22 years agotest127~ should not be included!
Daniel Stenberg [Mon, 3 Dec 2001 07:43:42 +0000 (07:43 +0000)]
test127~ should not be included!

22 years agomore careful re-use of connections when SSL is used over proxies
Daniel Stenberg [Sun, 2 Dec 2001 14:16:34 +0000 (14:16 +0000)]
more careful re-use of connections when SSL is used over proxies

22 years agoSM renamed the debug DLL
Daniel Stenberg [Sun, 2 Dec 2001 12:09:00 +0000 (12:09 +0000)]
SM renamed the debug DLL

22 years agoadded a in_addr_t #define
Daniel Stenberg [Sun, 2 Dec 2001 12:07:36 +0000 (12:07 +0000)]
added a in_addr_t #define

22 years agodocumented CURLOPT_HTTP_VERSION and CURLOPT_FTP_USE_EPSV
Daniel Stenberg [Fri, 30 Nov 2001 13:40:23 +0000 (13:40 +0000)]
documented CURLOPT_HTTP_VERSION and CURLOPT_FTP_USE_EPSV

22 years agoadded --disable-epsv
Daniel Stenberg [Fri, 30 Nov 2001 13:30:02 +0000 (13:30 +0000)]
added --disable-epsv

22 years agono include, no const in strdup
Daniel Stenberg [Fri, 30 Nov 2001 09:29:31 +0000 (09:29 +0000)]
no include, no const in strdup

22 years agofixed the option parser to not loop when a long option is specified
Daniel Stenberg [Fri, 30 Nov 2001 09:26:06 +0000 (09:26 +0000)]
fixed the option parser to not loop when a long option is specified

22 years agoremove the command file after each test
Daniel Stenberg [Thu, 29 Nov 2001 20:15:59 +0000 (20:15 +0000)]
remove the command file after each test

22 years agotest126 renamed to test190 as it has to be last among the FTP tests because
Daniel Stenberg [Thu, 29 Nov 2001 20:15:41 +0000 (20:15 +0000)]
test126 renamed to test190 as it has to be last among the FTP tests because
of some problems in the test server :-/

22 years agotest 127 --disable-epsv
Daniel Stenberg [Thu, 29 Nov 2001 19:58:16 +0000 (19:58 +0000)]
test 127 --disable-epsv

22 years ago--disable-epsv
Daniel Stenberg [Thu, 29 Nov 2001 19:42:51 +0000 (19:42 +0000)]
--disable-epsv

22 years agofixes for tru64, fixes for mac
Daniel Stenberg [Thu, 29 Nov 2001 12:50:35 +0000 (12:50 +0000)]
fixes for tru64, fixes for mac

22 years agodisabling EPSV is now possible
Daniel Stenberg [Thu, 29 Nov 2001 12:49:10 +0000 (12:49 +0000)]
disabling EPSV is now possible

22 years agostdin is file descriptor 0
Daniel Stenberg [Thu, 29 Nov 2001 12:48:08 +0000 (12:48 +0000)]
stdin is file descriptor 0

22 years agomac fixes
Daniel Stenberg [Thu, 29 Nov 2001 12:47:41 +0000 (12:47 +0000)]
mac fixes

22 years agoadded mac stuff
Daniel Stenberg [Thu, 29 Nov 2001 12:42:50 +0000 (12:42 +0000)]
added mac stuff

22 years agoupdated mac specific include files
Daniel Stenberg [Thu, 29 Nov 2001 12:40:36 +0000 (12:40 +0000)]
updated mac specific include files

22 years agounix newlines
Daniel Stenberg [Thu, 29 Nov 2001 12:33:02 +0000 (12:33 +0000)]
unix newlines

22 years agowrongly set binary
Daniel Stenberg [Thu, 29 Nov 2001 12:32:25 +0000 (12:32 +0000)]
wrongly set binary

22 years agomucho stuff since pre6!
Daniel Stenberg [Wed, 28 Nov 2001 23:29:38 +0000 (23:29 +0000)]
mucho stuff since pre6!

22 years agoadded CURLOPT_FTP_USE_EPSV
Daniel Stenberg [Wed, 28 Nov 2001 23:21:55 +0000 (23:21 +0000)]
added CURLOPT_FTP_USE_EPSV

22 years agoin_addr_t added
Daniel Stenberg [Wed, 28 Nov 2001 23:21:31 +0000 (23:21 +0000)]
in_addr_t added

22 years agoCURLOPT_FTP_USE_EPSV can now be set to FALSE to prevent libcurl from
Daniel Stenberg [Wed, 28 Nov 2001 23:20:14 +0000 (23:20 +0000)]
CURLOPT_FTP_USE_EPSV can now be set to FALSE to prevent libcurl from
attempting to use EPSV before the standard PASV.

22 years agofill memory with junk on malloc()
Daniel Stenberg [Wed, 28 Nov 2001 23:19:17 +0000 (23:19 +0000)]
fill memory with junk on malloc()

22 years agonow sets a type for in_addr_t even if it isn't found in the #include files
Daniel Stenberg [Wed, 28 Nov 2001 23:14:20 +0000 (23:14 +0000)]
now sets a type for in_addr_t even if it isn't found in the #include files
like on my linux box

22 years agomore more more MORE
Daniel Stenberg [Wed, 28 Nov 2001 16:00:18 +0000 (16:00 +0000)]
more more more MORE

22 years agothe perform "state machine" is more explained now
Daniel Stenberg [Wed, 28 Nov 2001 15:46:25 +0000 (15:46 +0000)]
the perform "state machine" is more explained now

22 years agomods
Daniel Stenberg [Wed, 28 Nov 2001 15:25:01 +0000 (15:25 +0000)]
mods

22 years agoadjusted to new FTP commands in the command sequence
Daniel Stenberg [Wed, 28 Nov 2001 13:45:50 +0000 (13:45 +0000)]
adjusted to new FTP commands in the command sequence

22 years agoAdded an in_addr_t check
Daniel Stenberg [Wed, 28 Nov 2001 13:16:56 +0000 (13:16 +0000)]
Added an in_addr_t check

22 years agoEPSV and SIZE adjustments
Daniel Stenberg [Wed, 28 Nov 2001 13:07:49 +0000 (13:07 +0000)]
EPSV and SIZE adjustments

22 years agoAdded EPSV which is now unconditionally always tried before PASV, which
Daniel Stenberg [Wed, 28 Nov 2001 13:05:39 +0000 (13:05 +0000)]
Added EPSV which is now unconditionally always tried before PASV, which
makes it work reaaaaly nicely on IPv6-enabled hosts!
Added SIZE before RETR is made, always done on downloads. It makes us know
the size prior to download much more frequently.
Unfortunately, this breaks all the FTP test cases. *fixfixfix*

22 years agouse in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*?
Daniel Stenberg [Wed, 28 Nov 2001 12:16:52 +0000 (12:16 +0000)]
use in_addr_t for inet_addr() return code. Now, now portable is this *REALLY*?
We should add some configure tests for this!

22 years agoused in the new multi interface, not yet actually part of libcurl but
Daniel Stenberg [Wed, 28 Nov 2001 11:09:18 +0000 (11:09 +0000)]
used in the new multi interface, not yet actually part of libcurl but
added to CVS to make them available to others