platform/upstream/curl.git
20 years agogetinfo.c is a new tiny example that uses curl_easy_getinfo() to get the
Daniel Stenberg [Thu, 3 Jun 2004 09:20:48 +0000 (09:20 +0000)]
getinfo.c is a new tiny example that uses curl_easy_getinfo() to get the
content-type after a transfer.

20 years agovery minor format edit
Daniel Stenberg [Wed, 2 Jun 2004 14:39:34 +0000 (14:39 +0000)]
very minor format edit

20 years agoCURLOPT_PUT is deprecated
Daniel Stenberg [Wed, 2 Jun 2004 14:06:49 +0000 (14:06 +0000)]
CURLOPT_PUT is deprecated

20 years agoMade CURLOPT_UPLOAD and CURLOPT_PUT mean the same thing internally (the
Daniel Stenberg [Wed, 2 Jun 2004 13:57:38 +0000 (13:57 +0000)]
Made CURLOPT_UPLOAD and CURLOPT_PUT mean the same thing internally (the
previous difference was not clear nor documented properly). They can now both
be used interchangeably, but we prefer UPLOAD to PUT since it is a more
generic term.

20 years ago*seven* new options to support 3rd party FTP transfers
Daniel Stenberg [Wed, 2 Jun 2004 13:51:36 +0000 (13:51 +0000)]
*seven* new options to support 3rd party FTP transfers

20 years ago7.12.1-CVS in progress
Daniel Stenberg [Wed, 2 Jun 2004 11:39:06 +0000 (11:39 +0000)]
7.12.1-CVS in progress

20 years agoGisle's adjustments to allow building with lcc-win32
Daniel Stenberg [Wed, 2 Jun 2004 11:36:07 +0000 (11:36 +0000)]
Gisle's adjustments to allow building with lcc-win32

20 years agoGisle made ftp_mkd static
Daniel Stenberg [Wed, 2 Jun 2004 11:34:53 +0000 (11:34 +0000)]
Gisle made ftp_mkd static

20 years agoand we start all over again
Daniel Stenberg [Wed, 2 Jun 2004 11:31:36 +0000 (11:31 +0000)]
and we start all over again

20 years ago7.12.0
Daniel Stenberg [Wed, 2 Jun 2004 09:03:02 +0000 (09:03 +0000)]
7.12.0

20 years agomore changes
Daniel Stenberg [Wed, 2 Jun 2004 08:57:43 +0000 (08:57 +0000)]
more changes

20 years agoRenaud Duhaut corrected the unescaping procedure
Daniel Stenberg [Tue, 1 Jun 2004 08:33:15 +0000 (08:33 +0000)]
Renaud Duhaut corrected the unescaping procedure

20 years agoDavid Byron made this use the mm lib by default, as was previously done. This
Daniel Stenberg [Tue, 1 Jun 2004 08:09:43 +0000 (08:09 +0000)]
David Byron made this use the mm lib by default, as was previously done. This
might be done differently in the future.

20 years ago--create-dirs clarification
Daniel Stenberg [Tue, 1 Jun 2004 07:03:46 +0000 (07:03 +0000)]
--create-dirs clarification

20 years agominor edits
Daniel Stenberg [Fri, 28 May 2004 11:16:09 +0000 (11:16 +0000)]
minor edits

20 years agocheck for failing strdup()s
Daniel Stenberg [Fri, 28 May 2004 09:56:59 +0000 (09:56 +0000)]
check for failing strdup()s

20 years agodelete trailing whitespace
Daniel Stenberg [Fri, 28 May 2004 09:52:15 +0000 (09:52 +0000)]
delete trailing whitespace

20 years agofixed curl_easy_duphandle() to properly clean up all memory if any memory
Daniel Stenberg [Thu, 27 May 2004 07:48:09 +0000 (07:48 +0000)]
fixed curl_easy_duphandle() to properly clean up all memory if any memory
function fails and it returns NULL

20 years agofree() allocated memory when the ares search can't be made
Daniel Stenberg [Thu, 27 May 2004 07:10:36 +0000 (07:10 +0000)]
free() allocated memory when the ares search can't be made

20 years agoclear the domains and sortlist when the 'channel' is first created so that
Daniel Stenberg [Thu, 27 May 2004 07:10:02 +0000 (07:10 +0000)]
clear the domains and sortlist when the 'channel' is first created so that
we can compare if non-NULL elsewhere

20 years agobetter checks to avoid free(NULL)
Daniel Stenberg [Thu, 27 May 2004 07:09:21 +0000 (07:09 +0000)]
better checks to avoid free(NULL)

20 years agoJames Bursa's fix to prevent free(NULL) to occur
Daniel Stenberg [Thu, 27 May 2004 06:42:48 +0000 (06:42 +0000)]
James Bursa's fix to prevent free(NULL) to occur

20 years agothe CONNECT issue seems fixed too now
Daniel Stenberg [Wed, 26 May 2004 14:32:15 +0000 (14:32 +0000)]
the CONNECT issue seems fixed too now

20 years agoMohun Biswas added release-zlib and debug-zlib targets.
Daniel Stenberg [Wed, 26 May 2004 11:49:28 +0000 (11:49 +0000)]
Mohun Biswas added release-zlib and debug-zlib targets.

20 years agoMSVC makefiles updated and an auth problem when using CONNECT
Daniel Stenberg [Wed, 26 May 2004 10:35:01 +0000 (10:35 +0000)]
MSVC makefiles updated and an auth problem when using CONNECT

20 years agocurllib.dsp works in the latest snapshots
Daniel Stenberg [Wed, 26 May 2004 10:32:48 +0000 (10:32 +0000)]
curllib.dsp works in the latest snapshots

20 years agobugs, changes, sponsors!
Daniel Stenberg [Wed, 26 May 2004 09:23:11 +0000 (09:23 +0000)]
bugs, changes, sponsors!

20 years agoupdated with recent stuff
Daniel Stenberg [Wed, 26 May 2004 09:19:46 +0000 (09:19 +0000)]
updated with recent stuff

20 years agothree new functions in the public API
Daniel Stenberg [Wed, 26 May 2004 09:17:20 +0000 (09:17 +0000)]
three new functions in the public API

20 years agoadded example that makes an upload to a file:// url
Daniel Stenberg [Wed, 26 May 2004 09:00:03 +0000 (09:00 +0000)]
added example that makes an upload to a file:// url

20 years agostrip trailing whitespace
Daniel Stenberg [Wed, 26 May 2004 08:58:25 +0000 (08:58 +0000)]
strip trailing whitespace

20 years agoAdded a new 'bit' in the connect struct named 'tunnel_proxy' that is set
Daniel Stenberg [Wed, 26 May 2004 08:54:36 +0000 (08:54 +0000)]
Added a new 'bit' in the connect struct named 'tunnel_proxy' that is set
if a connection is tunneled through a proxy. A tunnel is done with CONNECT,
either when using HTTPS or FTPS, or if explicitly enabled by the app.

20 years agoinitial support for "uploading" to file:// URLs
Daniel Stenberg [Tue, 25 May 2004 21:47:29 +0000 (21:47 +0000)]
initial support for "uploading" to file:// URLs

20 years ago--proxy-basic added for completeness
Daniel Stenberg [Tue, 25 May 2004 14:44:25 +0000 (14:44 +0000)]
--proxy-basic added for completeness

20 years agoremoved some stuff that actually is done now, added the --optionseparator
Daniel Stenberg [Tue, 25 May 2004 14:39:53 +0000 (14:39 +0000)]
removed some stuff that actually is done now, added the --optionseparator
idea (not really new, but its better to have it mentioned in here)

20 years agoBug report #948950, excessive amount of file descriptors might crash libcurl
Daniel Stenberg [Tue, 25 May 2004 14:28:44 +0000 (14:28 +0000)]
Bug report #948950, excessive amount of file descriptors might crash libcurl

20 years agoMassimiliano Ziccardi's updates for the VC6 makefiles
Daniel Stenberg [Tue, 25 May 2004 13:52:12 +0000 (13:52 +0000)]
Massimiliano Ziccardi's updates for the VC6 makefiles

20 years agopreprocessor magic around the libidn idn_free() stuff to remain workable
Daniel Stenberg [Tue, 25 May 2004 12:00:15 +0000 (12:00 +0000)]
preprocessor magic around the libidn idn_free() stuff to remain workable
both with older libidn versions without idn_free() and with libidn versions
that gets installed without idn-free.h

20 years agochecl for the idn_free stuff to remain functionall even with older libidn
Daniel Stenberg [Tue, 25 May 2004 11:59:32 +0000 (11:59 +0000)]
checl for the idn_free stuff to remain functionall even with older libidn
versions

20 years agoremove trailing whitespace
Daniel Stenberg [Tue, 25 May 2004 11:13:49 +0000 (11:13 +0000)]
remove trailing whitespace

20 years agomake one call instead of two
Daniel Stenberg [Tue, 25 May 2004 07:51:06 +0000 (07:51 +0000)]
make one call instead of two

20 years agonew example proving that the debug callback works even when the multi
Daniel Stenberg [Mon, 24 May 2004 15:16:53 +0000 (15:16 +0000)]
new example proving that the debug callback works even when the multi
interface is used

20 years agoremove trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 15:16:29 +0000 (15:16 +0000)]
remove trailing whitespace

20 years agomulti interface, debug callback
Daniel Stenberg [Mon, 24 May 2004 15:12:37 +0000 (15:12 +0000)]
multi interface, debug callback

20 years agodelete trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 13:31:28 +0000 (13:31 +0000)]
delete trailing whitespace

20 years agoif no errorbuffer string was provided when a return code was returned, use
Daniel Stenberg [Mon, 24 May 2004 13:27:48 +0000 (13:27 +0000)]
if no errorbuffer string was provided when a return code was returned, use
the curl_easy_strerror() function to provide one

20 years agoIDN is a recognized feature
Daniel Stenberg [Mon, 24 May 2004 13:23:54 +0000 (13:23 +0000)]
IDN is a recognized feature

20 years agofixed a reference
Daniel Stenberg [Mon, 24 May 2004 13:21:31 +0000 (13:21 +0000)]
fixed a reference

20 years agometa-m runs delete-trailing-whitespace in curl-mode
Daniel Stenberg [Mon, 24 May 2004 12:12:09 +0000 (12:12 +0000)]
meta-m runs delete-trailing-whitespace in curl-mode

20 years agodelete trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 11:57:34 +0000 (11:57 +0000)]
delete trailing whitespace

20 years agodelete trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 10:46:22 +0000 (10:46 +0000)]
delete trailing whitespace

20 years agobetter name
Daniel Stenberg [Mon, 24 May 2004 09:01:45 +0000 (09:01 +0000)]
better name

20 years agoonly idn_free() if built with libidn
Daniel Stenberg [Mon, 24 May 2004 08:19:37 +0000 (08:19 +0000)]
only idn_free() if built with libidn

20 years agodelete trailing whitespace
Daniel Stenberg [Mon, 24 May 2004 07:53:25 +0000 (07:53 +0000)]
delete trailing whitespace

20 years ago Simon Josefsson added a idn_free() function in libidn 0.4.5 as a reaction to
Daniel Stenberg [Mon, 24 May 2004 07:40:00 +0000 (07:40 +0000)]
 Simon Josefsson added a idn_free() function in libidn 0.4.5 as a reaction to
 Gisle's previous mail. We now use this function, and thus we require libidn
 0.4.5 or later. No earler version will do.

20 years agoRobert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE could
Daniel Stenberg [Mon, 24 May 2004 07:13:48 +0000 (07:13 +0000)]
Robert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE could
not be used both in one request. Fixed it and added test case 172 to verify.

20 years agoWhile talking to host a.b.c, libcurl did wrongly not accept cookies that were
Daniel Stenberg [Fri, 21 May 2004 20:40:15 +0000 (20:40 +0000)]
While talking to host a.b.c, libcurl did wrongly not accept cookies that were
set to the domain .a.b.c (that is with a dot prefix). This is now fixed and
test case 171 verifies it.

20 years agoquickfix to avoid division by zero, possibly we should go over all of these
Daniel Stenberg [Fri, 21 May 2004 12:23:53 +0000 (12:23 +0000)]
quickfix to avoid division by zero, possibly we should go over all of these
once and for all

20 years agofixed transfer speed math
Daniel Stenberg [Thu, 20 May 2004 20:48:16 +0000 (20:48 +0000)]
fixed transfer speed math

20 years agocalculate upload and download speed using doubles to keep precision.
Daniel Stenberg [Thu, 20 May 2004 20:35:42 +0000 (20:35 +0000)]
calculate upload and download speed using doubles to keep precision.
deleted trailing whitespace

20 years agoNTLM requires SSL
Daniel Stenberg [Wed, 19 May 2004 11:25:21 +0000 (11:25 +0000)]
NTLM requires SSL

20 years agocert verify
Daniel Stenberg [Wed, 19 May 2004 11:10:36 +0000 (11:10 +0000)]
cert verify

20 years agoadded test 170
Daniel Stenberg [Wed, 19 May 2004 10:32:25 +0000 (10:32 +0000)]
added test 170

20 years agoDavid Byron's test case with -F that used to crash
Daniel Stenberg [Wed, 19 May 2004 10:31:58 +0000 (10:31 +0000)]
David Byron's test case with -F that used to crash

20 years agokilled trailing whitespace
Daniel Stenberg [Wed, 19 May 2004 09:25:00 +0000 (09:25 +0000)]
killed trailing whitespace

20 years agojust code formatting and killed whitespace
Daniel Stenberg [Wed, 19 May 2004 09:24:18 +0000 (09:24 +0000)]
just code formatting and killed whitespace

20 years agolanguage!
Daniel Stenberg [Wed, 19 May 2004 09:09:31 +0000 (09:09 +0000)]
language!

20 years agoSet CURLOPT_USERAGENT too
Daniel Stenberg [Wed, 19 May 2004 09:08:19 +0000 (09:08 +0000)]
Set CURLOPT_USERAGENT too

20 years agoThe kill trailing whitespace needs to be set better as this way it takes
Daniel Stenberg [Wed, 19 May 2004 08:16:08 +0000 (08:16 +0000)]
The kill trailing whitespace needs to be set better as this way it takes
effect globally which isn't nice. Commented it out for now. Display trailing
whitespace still, to remind me.

20 years agosimplified all die messages
Daniel Stenberg [Tue, 18 May 2004 10:55:40 +0000 (10:55 +0000)]
simplified all die messages

20 years agosimplified the automake failed message too
Daniel Stenberg [Tue, 18 May 2004 09:25:46 +0000 (09:25 +0000)]
simplified the automake failed message too

20 years agomake this script tell that this is the obsolete version, to make it possible
Daniel Stenberg [Tue, 18 May 2004 09:22:41 +0000 (09:22 +0000)]
make this script tell that this is the obsolete version, to make it possible
to detect

20 years agosimplified the die-line when aclocal fails, the previous one confused
Daniel Stenberg [Tue, 18 May 2004 09:02:38 +0000 (09:02 +0000)]
simplified the die-line when aclocal fails, the previous one confused
the netbsd shell

20 years ago+ when storing the address in the cache fails, cleanup the resolved address
Daniel Stenberg [Tue, 18 May 2004 07:35:37 +0000 (07:35 +0000)]
+ when storing the address in the cache fails, cleanup the resolved address
properly
+ delete trailing whitespace

20 years ago* seed_enough() was converted to a macro to avoid the IRIX compiler warning
Daniel Stenberg [Tue, 18 May 2004 07:25:13 +0000 (07:25 +0000)]
* seed_enough() was converted to a macro to avoid the IRIX compiler warning
about that passed-in argument not being used.
* killed trailing whitespace

20 years agoif shrinking the buffer fails, use the older larger one
Daniel Stenberg [Mon, 17 May 2004 22:07:43 +0000 (22:07 +0000)]
if shrinking the buffer fails, use the older larger one

20 years agoPeter Sylvester's patch that addresses two flaws in the peer certificate name
Daniel Stenberg [Mon, 17 May 2004 22:01:16 +0000 (22:01 +0000)]
Peter Sylvester's patch that addresses two flaws in the peer certificate name
verification:

- when multiple common names are used (as in the curl tests), the last name
needs to be selected.

- allow comparing with encoded values, at least with BMP and ISO latin1
encoded T61strings.

20 years ago'make test-torture' in the root now runs a full torture test
Daniel Stenberg [Mon, 17 May 2004 10:54:00 +0000 (10:54 +0000)]
'make test-torture' in the root now runs a full torture test

20 years agoremoved debug output and trailing whitespace
Daniel Stenberg [Mon, 17 May 2004 10:53:34 +0000 (10:53 +0000)]
removed debug output and trailing whitespace

20 years agogrrr, fix the check again if no ftp server at all is running
Daniel Stenberg [Mon, 17 May 2004 10:51:51 +0000 (10:51 +0000)]
grrr, fix the check again if no ftp server at all is running

20 years agotorture testing and a moved CVS repo
Daniel Stenberg [Mon, 17 May 2004 10:39:44 +0000 (10:39 +0000)]
torture testing and a moved CVS repo

20 years agonew Curl_done() proto
Daniel Stenberg [Mon, 17 May 2004 08:07:07 +0000 (08:07 +0000)]
new Curl_done() proto

20 years agoI made Curl_done() take a pointer-pointer in the first argument instead, and
Daniel Stenberg [Mon, 17 May 2004 08:05:46 +0000 (08:05 +0000)]
I made Curl_done() take a pointer-pointer in the first argument instead, and
if the connection is killed it blanks the pointer it points to, to make it
easier to detect usage problems whereever Curl_done() is used.

20 years agobetter bailing out on memory failure
Daniel Stenberg [Mon, 17 May 2004 08:04:42 +0000 (08:04 +0000)]
better bailing out on memory failure

20 years agoWhen waiting for the second connect, we now use alarm to timeout the waiting.
Daniel Stenberg [Mon, 17 May 2004 08:02:23 +0000 (08:02 +0000)]
When waiting for the second connect, we now use alarm to timeout the waiting.
This is necessary in case the client never connects or somehow fails to do
it timely. The timeout used now is only 2 seconds, which might cause problems
on really slow hosts but longer times are painful when doing torture testing
on FTP test cases.

I'm not sure how this 'alarm' functionality works on Windows or other systems
that don't actually have the alarm() function.

20 years agoimproved the check for our own ftp server
Daniel Stenberg [Mon, 17 May 2004 07:59:10 +0000 (07:59 +0000)]
improved the check for our own ftp server

20 years agomodified to not leak memory if a libcurl function returns failure, for better
Daniel Stenberg [Mon, 17 May 2004 07:45:20 +0000 (07:45 +0000)]
modified to not leak memory if a libcurl function returns failure, for better
memory leak detection

20 years agoSeshubabu Pasam's format fixes and added notes about DER not working for
Daniel Stenberg [Mon, 17 May 2004 07:12:32 +0000 (07:12 +0000)]
Seshubabu Pasam's format fixes and added notes about DER not working for
some (SSL-)options.

20 years agomake it not leak memory when it returns prematurely
Daniel Stenberg [Mon, 17 May 2004 06:55:04 +0000 (06:55 +0000)]
make it not leak memory when it returns prematurely

20 years agoautomatically delete trailing white space on save in curl-mode
Daniel Stenberg [Mon, 17 May 2004 06:54:20 +0000 (06:54 +0000)]
automatically delete trailing white space on save in curl-mode

20 years agobail out nicely if strdup() returns NULL, removed trailing whitespace
Daniel Stenberg [Mon, 17 May 2004 06:53:41 +0000 (06:53 +0000)]
bail out nicely if strdup() returns NULL, removed trailing whitespace

20 years agodeleted trailing whitespace
Daniel Stenberg [Mon, 17 May 2004 06:50:32 +0000 (06:50 +0000)]
deleted trailing whitespace

20 years agofixed a warning on IRIX, deleted trailing whitespace
Daniel Stenberg [Mon, 17 May 2004 06:50:08 +0000 (06:50 +0000)]
fixed a warning on IRIX, deleted trailing whitespace

20 years agoadded string for the new share error code
Daniel Stenberg [Fri, 14 May 2004 11:46:35 +0000 (11:46 +0000)]
added string for the new share error code

20 years agoAdded CURLSHE_NOMEM
Daniel Stenberg [Fri, 14 May 2004 09:30:31 +0000 (09:30 +0000)]
Added CURLSHE_NOMEM

20 years agoclean up properly on failure to enable easier libcurl leak detection
Daniel Stenberg [Fri, 14 May 2004 09:22:12 +0000 (09:22 +0000)]
clean up properly on failure to enable easier libcurl leak detection

20 years agonew cvs instructions
Daniel Stenberg [Fri, 14 May 2004 09:21:42 +0000 (09:21 +0000)]
new cvs instructions

20 years agoenable memory debugging the same way the curl command line tool already does
Daniel Stenberg [Fri, 14 May 2004 08:40:33 +0000 (08:40 +0000)]
enable memory debugging the same way the curl command line tool already does

20 years agomemory cleanup and check fix
Daniel Stenberg [Thu, 13 May 2004 15:19:02 +0000 (15:19 +0000)]
memory cleanup and check fix

20 years agocheck that memory allocation functions truly return good data or bail out
Daniel Stenberg [Thu, 13 May 2004 15:18:29 +0000 (15:18 +0000)]
check that memory allocation functions truly return good data or bail out