platform/upstream/curl.git
20 years agorecent stuff
Daniel Stenberg [Tue, 28 Sep 2004 22:04:17 +0000 (22:04 +0000)]
recent stuff

20 years agomade pkg-config not get used if a path is given with --with-ssl
Daniel Stenberg [Tue, 28 Sep 2004 22:04:05 +0000 (22:04 +0000)]
made pkg-config not get used if a path is given with --with-ssl

20 years agoOnly active the engine code if ssl is enabled. This is how the actual engine
Daniel Stenberg [Tue, 28 Sep 2004 07:11:32 +0000 (07:11 +0000)]
Only active the engine code if ssl is enabled. This is how the actual engine
member in the struct is used.

20 years ago- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
Daniel Stenberg [Sun, 26 Sep 2004 22:35:18 +0000 (22:35 +0000)]
- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
  file to determine the sequence in which to search /etc/hosts and DNS.  So on
  systems where this order is defined by /etc/host.conf instead of a "lookup"
  entry in /etc/resolv.conf, C-ARES will always default to looking in DNS
  first, and /etc/hosts second.

  c-ares now looks at

  1) resolv.conf (for the "lookup" line);
  2) nsswitch.fon (for the "hosts:" line);
  3) host.conf (for the "order" line).

  First match wins.

20 years agoDominick Meglio host file path discovery patch for windows
Daniel Stenberg [Sun, 26 Sep 2004 18:20:58 +0000 (18:20 +0000)]
Dominick Meglio host file path discovery patch for windows

20 years agoBen Greear's minor fix to build (better) with cross-compiled(?) mingw
Daniel Stenberg [Sun, 26 Sep 2004 06:53:53 +0000 (06:53 +0000)]
Ben Greear's minor fix to build (better) with cross-compiled(?) mingw

20 years agoallow setting CURLOPT_SSLENGINE to NULL even if no SSL engine is supported
Daniel Stenberg [Sat, 25 Sep 2004 21:28:26 +0000 (21:28 +0000)]
allow setting CURLOPT_SSLENGINE to NULL even if no SSL engine is supported

20 years agoDan Fandrich patched three tests
Daniel Stenberg [Wed, 22 Sep 2004 18:23:14 +0000 (18:23 +0000)]
Dan Fandrich patched three tests

20 years agoDan Fandrich's fix to use 127.0.0.1 instead of localhost to not depend on
Daniel Stenberg [Wed, 22 Sep 2004 18:21:45 +0000 (18:21 +0000)]
Dan Fandrich's fix to use 127.0.0.1 instead of localhost to not depend on
it resolving nicely

20 years agoJean-Claude Chauve is a friend!
Daniel Stenberg [Wed, 22 Sep 2004 12:54:41 +0000 (12:54 +0000)]
Jean-Claude Chauve is a friend!

20 years agotypo
Daniel Stenberg [Wed, 22 Sep 2004 12:53:58 +0000 (12:53 +0000)]
typo

20 years agojean-claude Chauve fixed an LDAP bug
Daniel Stenberg [Wed, 22 Sep 2004 08:01:41 +0000 (08:01 +0000)]
jean-claude Chauve fixed an LDAP bug

20 years agoless long => int implicit conversion warnings
Daniel Stenberg [Mon, 20 Sep 2004 13:21:48 +0000 (13:21 +0000)]
less long => int implicit conversion warnings

20 years agoremoved getdate.c hack.
Gunter Knauf [Sun, 19 Sep 2004 23:30:34 +0000 (23:30 +0000)]
removed getdate.c hack.

20 years agoadded URL to the exception paragraph in the GPL FAQ
Daniel Stenberg [Sun, 19 Sep 2004 22:37:26 +0000 (22:37 +0000)]
added URL to the exception paragraph in the GPL FAQ

20 years agothe error message fix for failed connects
Daniel Stenberg [Sun, 19 Sep 2004 14:30:16 +0000 (14:30 +0000)]
the error message fix for failed connects

20 years agokill trailing whitespace and clarify a few errors
Daniel Stenberg [Sun, 19 Sep 2004 14:28:16 +0000 (14:28 +0000)]
kill trailing whitespace and clarify a few errors

20 years agoset an error message when connection fails
Daniel Stenberg [Sun, 19 Sep 2004 14:27:56 +0000 (14:27 +0000)]
set an error message when connection fails

20 years agoLocation:-follow problem
Daniel Stenberg [Fri, 17 Sep 2004 07:55:14 +0000 (07:55 +0000)]
Location:-follow problem

20 years agoone more option, one more friend
Daniel Stenberg [Thu, 16 Sep 2004 22:10:15 +0000 (22:10 +0000)]
one more option, one more friend

20 years agoAdded CURLOPT_FTPSSLAUTH
Daniel Stenberg [Thu, 16 Sep 2004 21:45:16 +0000 (21:45 +0000)]
Added CURLOPT_FTPSSLAUTH

20 years agoLocation: problem with bad original URL, identified in bug report #1029478
Daniel Stenberg [Thu, 16 Sep 2004 21:28:38 +0000 (21:28 +0000)]
Location: problem with bad original URL, identified in bug report #1029478

20 years agoBertrand Demiddelaer's correction
Daniel Stenberg [Thu, 16 Sep 2004 14:26:04 +0000 (14:26 +0000)]
Bertrand Demiddelaer's correction

20 years agoftp-ssl mistake corrected
Daniel Stenberg [Thu, 16 Sep 2004 08:45:11 +0000 (08:45 +0000)]
ftp-ssl mistake corrected

20 years agono more getdate.c to care about
Daniel Stenberg [Wed, 15 Sep 2004 08:07:20 +0000 (08:07 +0000)]
no more getdate.c to care about

20 years agofixed to use the new file. Can we make this use Makefile.inc somehow?
Daniel Stenberg [Wed, 15 Sep 2004 08:05:53 +0000 (08:05 +0000)]
fixed to use the new file. Can we make this use Makefile.inc somehow?

20 years agothe new date parser affects -z
Daniel Stenberg [Wed, 15 Sep 2004 07:31:48 +0000 (07:31 +0000)]
the new date parser affects -z

20 years agoReplaced the former date parser with a rewrite. No more yacc/bison needed.
Daniel Stenberg [Wed, 15 Sep 2004 07:28:04 +0000 (07:28 +0000)]
Replaced the former date parser with a rewrite. No more yacc/bison needed.

20 years agoignore more
Daniel Stenberg [Tue, 14 Sep 2004 21:31:06 +0000 (21:31 +0000)]
ignore more

20 years agoand moved back the month array to a static one since the ftp code won't need
Daniel Stenberg [Mon, 13 Sep 2004 20:49:27 +0000 (20:49 +0000)]
and moved back the month array to a static one since the ftp code won't need
it anymore

20 years agoremoved this file again, we only provide a single public function and that
Daniel Stenberg [Mon, 13 Sep 2004 20:48:24 +0000 (20:48 +0000)]
removed this file again, we only provide a single public function and that
is already in the public header file

20 years agono longer includes getdate.h, there's no need for it
Daniel Stenberg [Mon, 13 Sep 2004 20:47:31 +0000 (20:47 +0000)]
no longer includes getdate.h, there's no need for it

20 years agogetdate.h is not required to include, it adds nothing new
Daniel Stenberg [Mon, 13 Sep 2004 20:47:15 +0000 (20:47 +0000)]
getdate.h is not required to include, it adds nothing new

20 years agorevert the change for the new date parser, as the new one can deal with
Daniel Stenberg [Mon, 13 Sep 2004 20:43:12 +0000 (20:43 +0000)]
revert the change for the new date parser, as the new one can deal with
the old format now

20 years agosupport for YYYYMMDD added, which allows us to keep using the lib/ftp.c code
Daniel Stenberg [Mon, 13 Sep 2004 20:40:27 +0000 (20:40 +0000)]
support for YYYYMMDD added, which allows us to keep using the lib/ftp.c code
I was previously #ifdef'ing to a different look when this parser is used

20 years agoadded more examples/docs in the top comment
Daniel Stenberg [Mon, 13 Sep 2004 07:57:12 +0000 (07:57 +0000)]
added more examples/docs in the top comment

20 years agoSince many users probably already use local time strings as input, I now
Daniel Stenberg [Mon, 13 Sep 2004 07:45:19 +0000 (07:45 +0000)]
Since many users probably already use local time strings as input, I now
made it deal with named time zones as well as mail-style +0200 ones.

Seems to work fine. I'm comparing with GNU date command:

date -d [date] -u +%s

20 years agodescribes how you can extract the CA cert from a site using the openssl tool
Daniel Stenberg [Sun, 12 Sep 2004 18:27:12 +0000 (18:27 +0000)]
describes how you can extract the CA cert from a site using the openssl tool

20 years agoAdded parsedate.[ch]
Daniel Stenberg [Sat, 11 Sep 2004 20:06:33 +0000 (20:06 +0000)]
Added parsedate.[ch]

20 years agomention more friends
Daniel Stenberg [Sat, 11 Sep 2004 20:06:14 +0000 (20:06 +0000)]
mention more friends

20 years agoMinor adjustment needed for the new date parser to succeed. ifdef'ed out
Daniel Stenberg [Sat, 11 Sep 2004 19:19:59 +0000 (19:19 +0000)]
Minor adjustment needed for the new date parser to succeed. ifdef'ed out
for now.

20 years agomore docs and fixed the delta compared to GMT that prevented test case 141 to
Daniel Stenberg [Sat, 11 Sep 2004 19:16:34 +0000 (19:16 +0000)]
more docs and fixed the delta compared to GMT that prevented test case 141 to
work with this

20 years ago1. cookie expire-strings MUST use GMT timezones
Daniel Stenberg [Sat, 11 Sep 2004 19:12:37 +0000 (19:12 +0000)]
1. cookie expire-strings MUST use GMT timezones
2. adjusted date strings to upcoming date parser rewrite

20 years agoslightly better but still lacks
Daniel Stenberg [Sat, 11 Sep 2004 13:07:42 +0000 (13:07 +0000)]
slightly better but still lacks

20 years agogetdate replacement code. smaller, slicker, faster.
Daniel Stenberg [Sat, 11 Sep 2004 09:24:02 +0000 (09:24 +0000)]
getdate replacement code. smaller, slicker, faster.

20 years agofixed -F to support setting type= even on parts that aren't file-uploads
Daniel Stenberg [Fri, 10 Sep 2004 21:47:52 +0000 (21:47 +0000)]
fixed -F to support setting type= even on parts that aren't file-uploads

20 years agominor indent change
Daniel Stenberg [Fri, 10 Sep 2004 21:46:58 +0000 (21:46 +0000)]
minor indent change

20 years agoup to date with recent changes
Daniel Stenberg [Fri, 10 Sep 2004 21:13:55 +0000 (21:13 +0000)]
up to date with recent changes

20 years ago- Bug report #1025986. When following a Location: with a custom Host: header
Daniel Stenberg [Fri, 10 Sep 2004 20:58:51 +0000 (20:58 +0000)]
- Bug report #1025986. When following a Location: with a custom Host: header
  replacement, curl only replaced the Host: header on the initial request
  and didn't replace it on the following ones. This resulted in requests with
  two Host: headers.

  Now, curl checks if the location is on the same host as the initial request
  and then continues to replace the Host: header. And when it moves to another
  host, it doesn't replace the Host: header but it also doesn't make the
  second Host: header get used in the request.

  This change is verified by the two new test cases 184 and 185.

20 years agocurl --sync
Daniel Stenberg [Thu, 9 Sep 2004 06:58:01 +0000 (06:58 +0000)]
curl --sync

20 years agoNow the test servers and test cases can run on a custom port number. There's
Daniel Stenberg [Wed, 8 Sep 2004 08:08:38 +0000 (08:08 +0000)]
Now the test servers and test cases can run on a custom port number. There's
no fixed port numbers in use anymore. Starting now, the default ports the
servers use are 8990 - 8993. There's no option to modify these yet, but
changing the $base option in the top of the runtests.pl script.

20 years agofixed nasty warnings with gcc 3.3.
Gunter Knauf [Fri, 3 Sep 2004 18:51:36 +0000 (18:51 +0000)]
fixed nasty warnings with gcc 3.3.

20 years agoclarify CURLE_SSL_CERTPROBLEM somewhat
Daniel Stenberg [Thu, 2 Sep 2004 21:05:56 +0000 (21:05 +0000)]
clarify CURLE_SSL_CERTPROBLEM somewhat

20 years agoimproved error message when client cert return failure
Daniel Stenberg [Thu, 2 Sep 2004 21:03:41 +0000 (21:03 +0000)]
improved error message when client cert return failure

20 years agouse the correct struct name in the example
Daniel Stenberg [Thu, 2 Sep 2004 20:42:44 +0000 (20:42 +0000)]
use the correct struct name in the example

20 years agoadded more info on the nobody
Daniel Stenberg [Wed, 1 Sep 2004 12:05:59 +0000 (12:05 +0000)]
added more info on the nobody

20 years agominor edit of HTTPGET
Daniel Stenberg [Wed, 1 Sep 2004 09:25:19 +0000 (09:25 +0000)]
minor edit of HTTPGET

20 years agofix formatting flaw
Daniel Stenberg [Wed, 1 Sep 2004 09:24:01 +0000 (09:24 +0000)]
fix formatting flaw

20 years agofix the return code for curl_multi_add_handle()
Daniel Stenberg [Tue, 31 Aug 2004 06:04:43 +0000 (06:04 +0000)]
fix the return code for curl_multi_add_handle()

20 years agomention when the function was added to the lib
Daniel Stenberg [Tue, 31 Aug 2004 06:03:16 +0000 (06:03 +0000)]
mention when the function was added to the lib

20 years agoproxy connection close and so
Daniel Stenberg [Mon, 30 Aug 2004 15:02:37 +0000 (15:02 +0000)]
proxy connection close and so

20 years agoproxy-connection close
Daniel Stenberg [Mon, 30 Aug 2004 15:02:18 +0000 (15:02 +0000)]
proxy-connection close

20 years agoremoved issue 36 from this list, we don't know how to do it and no one has
Daniel Stenberg [Mon, 30 Aug 2004 14:22:47 +0000 (14:22 +0000)]
removed issue 36 from this list, we don't know how to do it and no one has
stepped forward to help us. Let's postpone that fix.

20 years agoMake "Proxy-Connection: close" close the current proxy connection, as
Daniel Stenberg [Mon, 30 Aug 2004 12:51:32 +0000 (12:51 +0000)]
Make "Proxy-Connection: close" close the current proxy connection, as
Roman Koifman found out.

20 years agogetdate fix, adacurl release
Daniel Stenberg [Mon, 30 Aug 2004 09:16:43 +0000 (09:16 +0000)]
getdate fix, adacurl release

20 years agomention Gisle's recent fixes
Daniel Stenberg [Mon, 30 Aug 2004 09:16:31 +0000 (09:16 +0000)]
mention Gisle's recent fixes

20 years agoRemoved ares_free_errmem.c from MSCV project files.
Gisle Vanem [Sun, 29 Aug 2004 15:40:17 +0000 (15:40 +0000)]
Removed ares_free_errmem.c from MSCV project files.
Fixed line-endings to CR-LF.

20 years agoupdated with minor edits
Daniel Stenberg [Fri, 27 Aug 2004 07:17:52 +0000 (07:17 +0000)]
updated with minor edits

20 years agodon't do SO_KEEPALIVE, we already have a finer grained method built-in
Daniel Stenberg [Fri, 27 Aug 2004 07:04:31 +0000 (07:04 +0000)]
don't do SO_KEEPALIVE, we already have a finer grained method built-in

20 years agoadded some more details
Daniel Stenberg [Thu, 26 Aug 2004 13:26:27 +0000 (13:26 +0000)]
added some more details

20 years agogetdate and new test cases from yday
Daniel Stenberg [Wed, 25 Aug 2004 11:21:15 +0000 (11:21 +0000)]
getdate and new test cases from yday

20 years agonot accurate anymore anyway
Daniel Stenberg [Wed, 25 Aug 2004 11:18:33 +0000 (11:18 +0000)]
not accurate anymore anyway

20 years agoFrankie V's description on how to get a CA cert for a random site using
Daniel Stenberg [Wed, 25 Aug 2004 08:09:48 +0000 (08:09 +0000)]
Frankie V's description on how to get a CA cert for a random site using
IE

20 years agoreturned memory should not be freed
Daniel Stenberg [Tue, 24 Aug 2004 20:36:38 +0000 (20:36 +0000)]
returned memory should not be freed

20 years agoadded test 183 to verify that we properly send good Host: headers when
Daniel Stenberg [Tue, 24 Aug 2004 14:40:32 +0000 (14:40 +0000)]
added test 183 to verify that we properly send good Host: headers when
getting multiple URLs over a single proxy connection

20 years agoAttempt to quick-fix the getdate problem by post-replacing the getdate.c
Daniel Stenberg [Tue, 24 Aug 2004 11:48:02 +0000 (11:48 +0000)]
Attempt to quick-fix the getdate problem by post-replacing the getdate.c
file after the bison/yacc process to add the fix Harshal Pradhan suggested.

20 years agoprevent files named ".nfs[something]" from being displayed when failing
Daniel Stenberg [Tue, 24 Aug 2004 09:23:40 +0000 (09:23 +0000)]
prevent files named ".nfs[something]" from being displayed when failing

20 years agoupdated in CVS, generated with a much newer bison version
Daniel Stenberg [Mon, 23 Aug 2004 15:28:53 +0000 (15:28 +0000)]
updated in CVS, generated with a much newer bison version

20 years agoExpect: 100-continue info added
Daniel Stenberg [Mon, 23 Aug 2004 14:46:43 +0000 (14:46 +0000)]
Expect: 100-continue info added

20 years agoadded note about WRITEFUNCTION now being called with zero bytes if the file
Daniel Stenberg [Mon, 23 Aug 2004 14:41:54 +0000 (14:41 +0000)]
added note about WRITEFUNCTION now being called with zero bytes if the file
to be transfered is empty

20 years agoverify that transferring a zero byte FTP file results in a zero byte local
Daniel Stenberg [Mon, 23 Aug 2004 14:41:19 +0000 (14:41 +0000)]
verify that transferring a zero byte FTP file results in a zero byte local
file

20 years agoProvide support for "transferring" zero bytes FTP files and comparing that
Daniel Stenberg [Mon, 23 Aug 2004 14:40:43 +0000 (14:40 +0000)]
Provide support for "transferring" zero bytes FTP files and comparing that
the output file actually is zero bytes after the transfer.

20 years agostripped trailing whitespace
Daniel Stenberg [Mon, 23 Aug 2004 14:22:52 +0000 (14:22 +0000)]
stripped trailing whitespace

20 years agolost of more into on how to tweak some headers
Daniel Stenberg [Mon, 23 Aug 2004 14:22:44 +0000 (14:22 +0000)]
lost of more into on how to tweak some headers

20 years agodebug.c is a fresh new example showing how to use the DEBUGFUNCTION to get
Daniel Stenberg [Mon, 23 Aug 2004 14:22:26 +0000 (14:22 +0000)]
debug.c is a fresh new example showing how to use the DEBUGFUNCTION to get
lots of fine info from a transfer

20 years agoadded more header info for PUT and POST requests
Daniel Stenberg [Mon, 23 Aug 2004 14:04:38 +0000 (14:04 +0000)]
added more header info for PUT and POST requests

20 years agoRoman Koifman pointed out that libcurl send Expect: 100-continue on POSTs and
Daniel Stenberg [Mon, 23 Aug 2004 12:34:55 +0000 (12:34 +0000)]
Roman Koifman pointed out that libcurl send Expect: 100-continue on POSTs and
PUTs even when told to use HTTP 1.0, which is not correct.

20 years agoMore patches for Watt-32 on Win32; don't include "nameser.h".
Gisle Vanem [Fri, 20 Aug 2004 14:10:44 +0000 (14:10 +0000)]
More patches for Watt-32 on Win32; don't include "nameser.h".

20 years agoNo WSAGetLastError() on Watt-32/DOS
Gisle Vanem [Fri, 20 Aug 2004 14:07:11 +0000 (14:07 +0000)]
No WSAGetLastError() on Watt-32/DOS

20 years agoNo <sys/uio.h> on DOS/Win32
Gisle Vanem [Fri, 20 Aug 2004 13:48:24 +0000 (13:48 +0000)]
No <sys/uio.h> on DOS/Win32

20 years agoChanges for Watt-32 on Windows. I've assumed Configure
Gisle Vanem [Fri, 20 Aug 2004 13:45:26 +0000 (13:45 +0000)]
Changes for Watt-32 on Windows. I've assumed Configure
sets the required HAVE_xx defines for non-DOS/Win targets.

20 years agoAlexander Krasnostavsky made the write callback get called even when a zero
Daniel Stenberg [Fri, 20 Aug 2004 12:09:09 +0000 (12:09 +0000)]
Alexander Krasnostavsky made the write callback get called even when a zero
byte file is downloaded.

20 years agosocks proxy and timeouts bug
Daniel Stenberg [Fri, 20 Aug 2004 10:52:35 +0000 (10:52 +0000)]
socks proxy and timeouts bug

20 years agoactually, we check for a numerical host using either ipv4 or ipv6, as neither
Daniel Stenberg [Fri, 20 Aug 2004 09:18:12 +0000 (09:18 +0000)]
actually, we check for a numerical host using either ipv4 or ipv6, as neither
should result in a reverse dns lookup

20 years agouse inet_pton() correctly!
Daniel Stenberg [Fri, 20 Aug 2004 09:11:52 +0000 (09:11 +0000)]
use inet_pton() correctly!

20 years agoZLIB_ROOT not needed
Gisle Vanem [Thu, 19 Aug 2004 15:24:49 +0000 (15:24 +0000)]
ZLIB_ROOT not needed

20 years agoMy first CVS commit just to see if this works.
Gisle Vanem [Thu, 19 Aug 2004 15:16:40 +0000 (15:16 +0000)]
My first CVS commit just to see if this works.
BTW. Used eclipse IDE fo this, which really kicks ass.

20 years agosimplified expression
Daniel Stenberg [Thu, 19 Aug 2004 09:37:22 +0000 (09:37 +0000)]
simplified expression

20 years agoLing Thio pointed out that getaddrinfo() reverse-lookups ip-only names, and
Daniel Stenberg [Thu, 19 Aug 2004 06:44:19 +0000 (06:44 +0000)]
Ling Thio pointed out that getaddrinfo() reverse-lookups ip-only names, and
this is an attempt to prevent it from doing that. affects ipv6-enabled only.

20 years agothe autobuilds failed all over on AIX, attempt to fix the strerror_r() problem
Daniel Stenberg [Thu, 19 Aug 2004 06:41:49 +0000 (06:41 +0000)]
the autobuilds failed all over on AIX, attempt to fix the strerror_r() problem
by setting _THREAD_SAFE (and -qthreaded) before strerror_r() is checked for.