platform/upstream/curl.git
22 years agoerror code cleanup, use the new SEND/RECV errors
Daniel Stenberg [Wed, 10 Apr 2002 13:44:42 +0000 (13:44 +0000)]
error code cleanup, use the new SEND/RECV errors

22 years agoerror codes documented
Daniel Stenberg [Wed, 10 Apr 2002 13:24:45 +0000 (13:24 +0000)]
error codes documented

22 years agotwo new error codes to separate READ into READ/RECV and WRITE into WRITE/SEND
Daniel Stenberg [Wed, 10 Apr 2002 13:24:18 +0000 (13:24 +0000)]
two new error codes to separate READ into READ/RECV and WRITE into WRITE/SEND

22 years agoclarified how to write URLs in -K config files
Daniel Stenberg [Wed, 10 Apr 2002 12:57:34 +0000 (12:57 +0000)]
clarified how to write URLs in -K config files

22 years agoset the HOME variable to the current dir, to prevent any real ~/.curlrc to
Daniel Stenberg [Tue, 9 Apr 2002 14:28:16 +0000 (14:28 +0000)]
set the HOME variable to the current dir, to prevent any real ~/.curlrc to
play tricks on us!

22 years agospell checked and removed talk about very old version numbers
Daniel Stenberg [Tue, 9 Apr 2002 06:20:06 +0000 (06:20 +0000)]
spell checked and removed talk about very old version numbers

22 years ago7.9.6-pre4 commit
Daniel Stenberg [Mon, 8 Apr 2002 22:53:22 +0000 (22:53 +0000)]
7.9.6-pre4 commit

22 years agoremoved compiler warnings, made it conditional on USE_ENVIRONMENT
Daniel Stenberg [Mon, 8 Apr 2002 22:51:21 +0000 (22:51 +0000)]
removed compiler warnings, made it conditional on USE_ENVIRONMENT

22 years agoAdded the --environment support by Michael Curtis
Daniel Stenberg [Mon, 8 Apr 2002 22:48:25 +0000 (22:48 +0000)]
Added the --environment support by Michael Curtis

22 years agoAdded $Id:$ keyword
Daniel Stenberg [Mon, 8 Apr 2002 22:46:32 +0000 (22:46 +0000)]
Added $Id:$ keyword

22 years agoMichael Curtis adjusted this for RISC OS
Daniel Stenberg [Mon, 8 Apr 2002 22:44:33 +0000 (22:44 +0000)]
Michael Curtis adjusted this for RISC OS

22 years agoAdded writeenv.c and writeenv.h for RISCOS usage (and others?)
Daniel Stenberg [Mon, 8 Apr 2002 22:40:38 +0000 (22:40 +0000)]
Added writeenv.c and writeenv.h for RISCOS usage (and others?)

22 years agoadded config-riscos.h
Daniel Stenberg [Mon, 8 Apr 2002 22:01:11 +0000 (22:01 +0000)]
added config-riscos.h

22 years agoMichael Curtis' updates
Daniel Stenberg [Mon, 8 Apr 2002 21:59:06 +0000 (21:59 +0000)]
Michael Curtis' updates

22 years agoJacky Lam deserves a mention here
Daniel Stenberg [Mon, 8 Apr 2002 13:31:06 +0000 (13:31 +0000)]
Jacky Lam deserves a mention here

22 years agobased on Jacky Lam's "HTTP 1.0 304-only" fix, this change makes a 304 reply
Daniel Stenberg [Mon, 8 Apr 2002 07:27:22 +0000 (07:27 +0000)]
based on Jacky Lam's "HTTP 1.0 304-only" fix, this change makes a 304 reply
always stop reading after the headers no matter what 'close' is.

22 years agoif HOME isn't set or too long, we attempt to lost the curlrc file from
Daniel Stenberg [Fri, 5 Apr 2002 15:04:04 +0000 (15:04 +0000)]
if HOME isn't set or too long, we attempt to lost the curlrc file from
current directory instead!

22 years agomention the web site mirror now
Daniel Stenberg [Fri, 5 Apr 2002 09:00:56 +0000 (09:00 +0000)]
mention the web site mirror now

22 years agoenough with stupidity, this is a test case that should fail and thus we
Daniel Stenberg [Fri, 5 Apr 2002 08:48:45 +0000 (08:48 +0000)]
enough with stupidity, this is a test case that should fail and thus we
should use a proper command line that *fails* ;-O

22 years agoadded test 48, verify -I, -d and -G in one command line
Daniel Stenberg [Fri, 5 Apr 2002 08:42:00 +0000 (08:42 +0000)]
added test 48, verify -I, -d and -G in one command line

22 years agoReverted v1.120, -G set request type after Kevin Roth pointed out the
Daniel Stenberg [Thu, 4 Apr 2002 22:29:18 +0000 (22:29 +0000)]
Reverted v1.120, -G set request type after Kevin Roth pointed out the
stupidity in doing this. -G should work with with -I too...

22 years agolots
Daniel Stenberg [Thu, 4 Apr 2002 12:24:32 +0000 (12:24 +0000)]
lots

22 years agovery minor log change
Daniel Stenberg [Thu, 4 Apr 2002 12:23:54 +0000 (12:23 +0000)]
very minor log change

22 years agoT. Bharath pointed out the flaw in ConnectionExists() for how we didn't
Daniel Stenberg [Thu, 4 Apr 2002 12:23:14 +0000 (12:23 +0000)]
T. Bharath pointed out the flaw in ConnectionExists() for how we didn't
check proxy connections for "deadness" before they were re-used

22 years agoFixes the problem Jacky Jam pointed out, where libcurl will "hang" for an
Daniel Stenberg [Thu, 4 Apr 2002 12:19:56 +0000 (12:19 +0000)]
Fixes the problem Jacky Jam pointed out, where libcurl will "hang" for an
extra second after having downloaded headers-only

22 years agoJonatan Lander's fix to compile properly on pre-ISO compilers (without the
Daniel Stenberg [Thu, 4 Apr 2002 10:07:01 +0000 (10:07 +0000)]
Jonatan Lander's fix to compile properly on pre-ISO compilers (without the
## operator)

22 years agoThis corrects VERBOSE PASV ftp transfers on AIX (and OSF1/Tru64)
Daniel Stenberg [Thu, 4 Apr 2002 06:07:56 +0000 (06:07 +0000)]
This corrects VERBOSE PASV ftp transfers on AIX (and OSF1/Tru64)
Gerhard Herre reported this in bug report #536238

22 years agoTor Arntsen's fix for "CGI_Lite" compliance!
Daniel Stenberg [Wed, 3 Apr 2002 11:11:01 +0000 (11:11 +0000)]
Tor Arntsen's fix for "CGI_Lite" compliance!

22 years agoAdded DNS cache control options
Daniel Stenberg [Tue, 2 Apr 2002 13:29:05 +0000 (13:29 +0000)]
Added DNS cache control options

22 years agoClarence Gardner pointed out the not-taken-care-of return codes from SSL_read
Daniel Stenberg [Tue, 2 Apr 2002 09:33:38 +0000 (09:33 +0000)]
Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read

22 years agoJacky Lam added memdebug.h include to prevent crashes when that is used
Daniel Stenberg [Tue, 2 Apr 2002 06:36:47 +0000 (06:36 +0000)]
Jacky Lam added memdebug.h include to prevent crashes when that is used

22 years agofopen(... "rb") when reading what to post, so that binary posting works
Daniel Stenberg [Wed, 27 Mar 2002 22:53:06 +0000 (22:53 +0000)]
fopen(... "rb") when reading what to post, so that binary posting works
on Windows!

22 years agoJacky Lam cookie parser fix for domains with preceeding dot
Daniel Stenberg [Mon, 25 Mar 2002 09:08:33 +0000 (09:08 +0000)]
Jacky Lam cookie parser fix for domains with preceeding dot

22 years agoMiklos Nemeth's update
Daniel Stenberg [Sat, 23 Mar 2002 15:41:17 +0000 (15:41 +0000)]
Miklos Nemeth's update

22 years agoadjusted windows section after a patch from Miklos Nemeth
Daniel Stenberg [Fri, 22 Mar 2002 12:01:30 +0000 (12:01 +0000)]
adjusted windows section after a patch from Miklos Nemeth

22 years agopatch by Sandro Tolaini to do good (better?) on FreeBSD
Daniel Stenberg [Fri, 22 Mar 2002 11:02:16 +0000 (11:02 +0000)]
patch by Sandro Tolaini to do good (better?) on FreeBSD

22 years agono longer include "multi.h", it comes with the regular curl/curl.h now
Daniel Stenberg [Wed, 20 Mar 2002 10:54:17 +0000 (10:54 +0000)]
no longer include "multi.h", it comes with the regular curl/curl.h now

22 years agocrlf replacement on uploads did not work. test case 128 was added just now
Daniel Stenberg [Wed, 20 Mar 2002 10:53:24 +0000 (10:53 +0000)]
crlf replacement on uploads did not work. test case 128 was added just now
to make sure it remains functional.

22 years agoverbose FTP PASV output could output a "random" name from the stack based
Daniel Stenberg [Wed, 20 Mar 2002 10:52:24 +0000 (10:52 +0000)]
verbose FTP PASV output could output a "random" name from the stack based
array
Also, uploading data with --crlf cannot check that the proper size was
uploaded and thus should not warn if the sizes differ. This can be changed
in the future by having the expected size in the connectdata struct and then
increase the expected size for each byte that is added in the --crlf
replacement process.

22 years agoadded test 128, ftp upload with --crlf
Daniel Stenberg [Wed, 20 Mar 2002 10:50:12 +0000 (10:50 +0000)]
added test 128, ftp upload with --crlf

22 years agonewcomer notice added
Daniel Stenberg [Wed, 20 Mar 2002 10:11:50 +0000 (10:11 +0000)]
newcomer notice added

22 years agoold list is gone
Daniel Stenberg [Wed, 20 Mar 2002 08:00:05 +0000 (08:00 +0000)]
old list is gone

22 years agoJohn Clayton's weird explorations in the wonders of the windows tcp/ip
Daniel Stenberg [Tue, 19 Mar 2002 15:56:13 +0000 (15:56 +0000)]
John Clayton's weird explorations in the wonders of the windows tcp/ip
stack ;-)

22 years agomade -G set request type
Daniel Stenberg [Tue, 19 Mar 2002 14:58:35 +0000 (14:58 +0000)]
made -G set request type

22 years agocorrected for 7.9.6
Daniel Stenberg [Tue, 19 Mar 2002 14:53:28 +0000 (14:53 +0000)]
corrected for 7.9.6

22 years agoremoved multi.h
Daniel Stenberg [Tue, 19 Mar 2002 14:32:43 +0000 (14:32 +0000)]
removed multi.h

22 years agoAdded the three multi interface source code examples to the distrib
Daniel Stenberg [Tue, 19 Mar 2002 14:01:34 +0000 (14:01 +0000)]
Added the three multi interface source code examples to the distrib

22 years agofixed include and added header
Daniel Stenberg [Tue, 19 Mar 2002 14:00:47 +0000 (14:00 +0000)]
fixed include and added header

22 years agoadded multi.h
Daniel Stenberg [Tue, 19 Mar 2002 10:35:14 +0000 (10:35 +0000)]
added multi.h

22 years agoinclude multi.h too
Daniel Stenberg [Tue, 19 Mar 2002 10:35:02 +0000 (10:35 +0000)]
include multi.h too

22 years agomoved here from ../../lib/
Daniel Stenberg [Tue, 19 Mar 2002 10:34:34 +0000 (10:34 +0000)]
moved here from ../../lib/

22 years agomoved to ../include/curl/
Daniel Stenberg [Tue, 19 Mar 2002 10:34:06 +0000 (10:34 +0000)]
moved to ../include/curl/

22 years agoadded the multi functions man pages
Daniel Stenberg [Tue, 19 Mar 2002 10:19:56 +0000 (10:19 +0000)]
added the multi functions man pages

22 years agomulti interface overview and description
Daniel Stenberg [Tue, 19 Mar 2002 10:16:12 +0000 (10:16 +0000)]
multi interface overview and description

22 years agoremoved text that really belongs to very old libcurls that are no longer
Daniel Stenberg [Tue, 19 Mar 2002 09:41:06 +0000 (09:41 +0000)]
removed text that really belongs to very old libcurls that are no longer
being used widely

22 years agopoint out that this describes the easy interface and also make a more
Daniel Stenberg [Tue, 19 Mar 2002 09:31:05 +0000 (09:31 +0000)]
point out that this describes the easy interface and also make a more
general statement about language bindings

22 years agolanguage
Daniel Stenberg [Tue, 19 Mar 2002 09:08:57 +0000 (09:08 +0000)]
language

22 years agoadded some text about PASV and PORT and stuff
Daniel Stenberg [Tue, 19 Mar 2002 08:55:05 +0000 (08:55 +0000)]
added some text about PASV and PORT and stuff

22 years agocopyright string (year) update
Daniel Stenberg [Tue, 19 Mar 2002 07:54:55 +0000 (07:54 +0000)]
copyright string (year) update

22 years agoyaketiyak
Daniel Stenberg [Tue, 19 Mar 2002 07:48:54 +0000 (07:48 +0000)]
yaketiyak

22 years agoautomake -a for the depcomp
Daniel Stenberg [Tue, 19 Mar 2002 07:48:33 +0000 (07:48 +0000)]
automake -a for the depcomp

22 years agomade it pass stricter compiler flags with less warnings
Daniel Stenberg [Tue, 19 Mar 2002 07:32:35 +0000 (07:32 +0000)]
made it pass stricter compiler flags with less warnings

22 years agotest 32, try -d and -G
Daniel Stenberg [Mon, 18 Mar 2002 22:26:22 +0000 (22:26 +0000)]
test 32, try -d and -G

22 years agoreverted 1.109, we can't set the request type when -d is used, as -G can be
Daniel Stenberg [Mon, 18 Mar 2002 22:21:16 +0000 (22:21 +0000)]
reverted 1.109, we can't set the request type when -d is used, as -G can be
used and it makes it a GET...

22 years agoWRITEFUNCTION correction
Daniel Stenberg [Mon, 18 Mar 2002 08:53:21 +0000 (08:53 +0000)]
WRITEFUNCTION correction

22 years agoAndreas Damm added thanks to his getdate overhaul
Daniel Stenberg [Mon, 18 Mar 2002 08:52:46 +0000 (08:52 +0000)]
Andreas Damm added thanks to his getdate overhaul

22 years agogopher
Daniel Stenberg [Mon, 18 Mar 2002 08:52:15 +0000 (08:52 +0000)]
gopher

22 years agoupdated
Daniel Stenberg [Mon, 18 Mar 2002 07:40:00 +0000 (07:40 +0000)]
updated

22 years agoclarified that it is only the + letter that isn't converted on the right
Daniel Stenberg [Sun, 17 Mar 2002 08:28:51 +0000 (08:28 +0000)]
clarified that it is only the + letter that isn't converted on the right
side of a ? letter

22 years agoverbose PASV transfers passed a bad buffer size to the name resolver functions
Daniel Stenberg [Sat, 16 Mar 2002 16:59:47 +0000 (16:59 +0000)]
verbose PASV transfers passed a bad buffer size to the name resolver functions
and it cause cause a crash.

Albert Choy found and fixed it.

22 years agocorrected SSL builds
Daniel Stenberg [Fri, 15 Mar 2002 14:46:59 +0000 (14:46 +0000)]
corrected SSL builds

22 years agoheaders and security blurb added
Daniel Stenberg [Fri, 15 Mar 2002 13:25:15 +0000 (13:25 +0000)]
headers and security blurb added

22 years agomake sure we return CURLE_WRITE_ERROR if the write callback returned
Daniel Stenberg [Fri, 15 Mar 2002 12:42:41 +0000 (12:42 +0000)]
make sure we return CURLE_WRITE_ERROR if the write callback returned
an error, even if we were decoding a chunked-encoded transfer

22 years agoJun-ichiro itojun Hagino <itojun@itojun.org>:
Daniel Stenberg [Fri, 15 Mar 2002 09:54:30 +0000 (09:54 +0000)]
Jun-ichiro itojun Hagino <itojun@itojun.org>:

Now first check if IPv6 is supported, then use PF_UNSPEC. If not, use PF_INET.
It'll solve both the "slow name lookup" problem on IPv4 and still work fine on
IPv6 hosts.

Bug report #530204 has more details:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=530204&group_id=976

22 years agobug report #530204 correctly identified that revision 1.52 broke ipv6
Daniel Stenberg [Fri, 15 Mar 2002 08:45:09 +0000 (08:45 +0000)]
bug report #530204 correctly identified that revision 1.52 broke ipv6
functionality and this change reverts this.

However, with this revert we bring back problems on (some/all?) non-IPv6
enabled Linux machines that have getaddrinfo().

22 years agonew example for libcurl 7.9.6 or later
Daniel Stenberg [Thu, 14 Mar 2002 14:53:00 +0000 (14:53 +0000)]
new example for libcurl 7.9.6 or later

22 years agoif CURLOPT_POSTFIELDS isn't set, but CURLOPT_POST is, we will assume that
Daniel Stenberg [Thu, 14 Mar 2002 14:39:23 +0000 (14:39 +0000)]
if CURLOPT_POSTFIELDS isn't set, but CURLOPT_POST is, we will assume that
we should read the POST-data from the read callback

22 years ago2002
Daniel Stenberg [Thu, 14 Mar 2002 14:37:41 +0000 (14:37 +0000)]
2002

22 years agoCURLOPT_POST deserved a new comment with the new POST-by-callback support
Daniel Stenberg [Thu, 14 Mar 2002 14:37:16 +0000 (14:37 +0000)]
CURLOPT_POST deserved a new comment with the new POST-by-callback support

22 years agono longer attempts to SIZE a NULL pointer, as that wasn't very clever
Daniel Stenberg [Wed, 13 Mar 2002 13:13:19 +0000 (13:13 +0000)]
no longer attempts to SIZE a NULL pointer, as that wasn't very clever
(but didn't crash or anything)

22 years agoSetting CURLOPT_PASSWDFUNCTION to NULL now restores the internal function.
Daniel Stenberg [Wed, 13 Mar 2002 13:10:52 +0000 (13:10 +0000)]
Setting CURLOPT_PASSWDFUNCTION to NULL now restores the internal function.

22 years agosendf() now deals with Curl_write() returning -1 properly, which it might
Daniel Stenberg [Wed, 13 Mar 2002 13:09:37 +0000 (13:09 +0000)]
sendf() now deals with Curl_write() returning -1 properly, which it might
do if the write would've blocked

22 years agonow supports all options in arrays, except the CURLFORM_ARRAY itself
Daniel Stenberg [Wed, 13 Mar 2002 12:10:20 +0000 (12:10 +0000)]
now supports all options in arrays, except the CURLFORM_ARRAY itself

22 years agoCURLFORM_ARRAYSTART and ARRAYEND are now history
Daniel Stenberg [Wed, 13 Mar 2002 12:09:52 +0000 (12:09 +0000)]
CURLFORM_ARRAYSTART and ARRAYEND are now history

22 years agoremoved some silly CRLF lines
Daniel Stenberg [Wed, 13 Mar 2002 09:20:59 +0000 (09:20 +0000)]
removed some silly CRLF lines

22 years ago4 things since 7.9.5
Daniel Stenberg [Mon, 11 Mar 2002 15:37:08 +0000 (15:37 +0000)]
4 things since 7.9.5

22 years agoadded test 39, tests the new -F features
Daniel Stenberg [Mon, 11 Mar 2002 15:31:06 +0000 (15:31 +0000)]
added test 39, tests the new -F features

22 years agonow -F supports 'filename=blabla' for parts that upload a file, to set the
Daniel Stenberg [Mon, 11 Mar 2002 15:20:56 +0000 (15:20 +0000)]
now -F supports 'filename=blabla' for parts that upload a file, to set the
filename field of that part. A typical example line could look like:

-F 'name=@filename;filename=/dev/null'

This can be combined with type= too, in a manner similar to:

-F "file=@log/test39.txt;filename=fakerfile;type=moo/foobar"

Enjoy.

22 years agoAdded support for CURLFORM_FILENAME to set the filename field of a file
Daniel Stenberg [Mon, 11 Mar 2002 15:18:59 +0000 (15:18 +0000)]
Added support for CURLFORM_FILENAME to set the filename field of a file
part.

22 years agoCURLFORM_FILENAME added and some cleanups, HttpPost is now curl_httppost
Daniel Stenberg [Mon, 11 Mar 2002 15:14:09 +0000 (15:14 +0000)]
CURLFORM_FILENAME added and some cleanups, HttpPost is now curl_httppost
with a #define to preserve backwards compatibiltiy

22 years agocorrected the use of the progress function
Daniel Stenberg [Mon, 11 Mar 2002 15:00:57 +0000 (15:00 +0000)]
corrected the use of the progress function

22 years agominor edit
Daniel Stenberg [Mon, 11 Mar 2002 08:39:00 +0000 (08:39 +0000)]
minor edit

22 years ago3.13 Why does my single/double quotes fail?
Daniel Stenberg [Mon, 11 Mar 2002 08:29:26 +0000 (08:29 +0000)]
3.13 Why does my single/double quotes fail?

22 years agocompleted the progress-bar fix
Daniel Stenberg [Fri, 8 Mar 2002 16:12:00 +0000 (16:12 +0000)]
completed the progress-bar fix

22 years agodetect fclose(NULL)
Daniel Stenberg [Fri, 8 Mar 2002 15:31:44 +0000 (15:31 +0000)]
detect fclose(NULL)

22 years agobetter treatment of the config->errors, only fclose() this if it was
Daniel Stenberg [Fri, 8 Mar 2002 15:18:03 +0000 (15:18 +0000)]
better treatment of the config->errors, only fclose() this if it was
truly fopen()ed. It could end up fclose()ing a NULL as discovered by
Clifford Wolf.

22 years agoJean-Philippe Barrette-LaPierre fixed the CURLOPT_PASSWDFUNCTION to make
Daniel Stenberg [Fri, 8 Mar 2002 15:06:42 +0000 (15:06 +0000)]
Jean-Philippe Barrette-LaPierre fixed the CURLOPT_PASSWDFUNCTION to make
NULL set back the internal default function

22 years agocloses bug report #527032, --progress-bar works again and it adds a newline
Daniel Stenberg [Fri, 8 Mar 2002 12:05:57 +0000 (12:05 +0000)]
closes bug report #527032, --progress-bar works again and it adds a newline
after the transfer is done properly

22 years ago7.9.5 commit
Daniel Stenberg [Thu, 7 Mar 2002 08:50:18 +0000 (08:50 +0000)]
7.9.5 commit

22 years agoadded the "known bugs" file
Daniel Stenberg [Thu, 7 Mar 2002 08:29:24 +0000 (08:29 +0000)]
added the "known bugs" file