platform/upstream/curl.git
19 years ago-z bad use warning and NTLM proxy auth in reconnect fix
Daniel Stenberg [Thu, 12 May 2005 14:00:27 +0000 (14:00 +0000)]
-z bad use warning and NTLM proxy auth in reconnect fix

19 years agooops, found by bug reported in bug report #1200661
Daniel Stenberg [Thu, 12 May 2005 13:44:25 +0000 (13:44 +0000)]
oops, found by bug reported in bug report #1200661

19 years agospell
Daniel Stenberg [Thu, 12 May 2005 12:53:02 +0000 (12:53 +0000)]
spell

19 years agotypecast to fix warning on 64bit systems
Daniel Stenberg [Thu, 12 May 2005 08:51:30 +0000 (08:51 +0000)]
typecast to fix warning on 64bit systems

19 years agowarn about bad -z syntax
Daniel Stenberg [Thu, 12 May 2005 07:28:03 +0000 (07:28 +0000)]
warn about bad -z syntax

19 years agoMatrixSSL and yaSSL are two free libs we _could_ support
Daniel Stenberg [Wed, 11 May 2005 11:56:04 +0000 (11:56 +0000)]
MatrixSSL and yaSSL are two free libs we _could_ support

19 years agomention the select() error fix as well
Daniel Stenberg [Wed, 11 May 2005 10:23:59 +0000 (10:23 +0000)]
mention the select() error fix as well

19 years agothe new HTTP headers
Daniel Stenberg [Wed, 11 May 2005 09:56:53 +0000 (09:56 +0000)]
the new HTTP headers

19 years agoremoved duplicate
Daniel Stenberg [Wed, 11 May 2005 09:56:10 +0000 (09:56 +0000)]
removed duplicate

19 years agoModified the default HTTP headers used by libcurl:
Daniel Stenberg [Wed, 11 May 2005 09:52:59 +0000 (09:52 +0000)]
Modified the default HTTP headers used by libcurl:

A) Normal non-proxy HTTP:

 - no more "Pragma: no-cache" (this only makes sense to proxies)

B) Non-CONNECT HTTP request over proxy:

 - "Pragma: no-cache" is used (like before)
 - "Proxy-Connection: Keep-alive" (for older style 1.0-proxies)

C) CONNECT HTTP request over proxy:

 - "Host: [name]:[port]"
 - "Proxy-Connection: Keep-alive"

19 years agoprevent NS_IN6ADDRSZ from getting set to zero if the struct doesn't exist
Daniel Stenberg [Wed, 11 May 2005 06:47:09 +0000 (06:47 +0000)]
prevent NS_IN6ADDRSZ from getting set to zero if the struct doesn't exist

19 years agoHm, this doesn't feel right. The error bits returned from Curl_select() can
Daniel Stenberg [Tue, 10 May 2005 23:02:37 +0000 (23:02 +0000)]
Hm, this doesn't feel right. The error bits returned from Curl_select() can
be returned at times when we want to ignore them. Test case 160 fails on Linux,
so I modify the comparison to check for _only_ the error bit set...

19 years agome stupid, errno is not set for mere select()-exceptions
Daniel Stenberg [Tue, 10 May 2005 22:48:26 +0000 (22:48 +0000)]
me stupid, errno is not set for mere select()-exceptions

19 years agoinclude protos to fix warnings
Daniel Stenberg [Tue, 10 May 2005 22:46:24 +0000 (22:46 +0000)]
include protos to fix warnings

19 years agoIf Curl_select() returns with the error bit set, bail out.
Daniel Stenberg [Tue, 10 May 2005 22:44:08 +0000 (22:44 +0000)]
If Curl_select() returns with the error bit set, bail out.

19 years agoprevent 64bit warnings
Daniel Stenberg [Tue, 10 May 2005 11:21:57 +0000 (11:21 +0000)]
prevent 64bit warnings

19 years agoallow the ares/config.h display to fail
Daniel Stenberg [Tue, 10 May 2005 11:19:12 +0000 (11:19 +0000)]
allow the ares/config.h display to fail

19 years agoJeremy Brown's OpenSSL thread-locking example
Daniel Stenberg [Mon, 9 May 2005 21:12:03 +0000 (21:12 +0000)]
Jeremy Brown's OpenSSL thread-locking example

19 years agonew counter
Daniel Stenberg [Mon, 9 May 2005 13:57:58 +0000 (13:57 +0000)]
new counter

19 years agoJamie Lokier added. And I now recounted the amount better: 437 named as of now.
Daniel Stenberg [Mon, 9 May 2005 13:53:42 +0000 (13:53 +0000)]
Jamie Lokier added. And I now recounted the amount better: 437 named as of now.

19 years agoupdate the "PORTS" section a little
Daniel Stenberg [Mon, 9 May 2005 13:26:41 +0000 (13:26 +0000)]
update the "PORTS" section a little

19 years agoadd multi-thread details for GnuTLS
Daniel Stenberg [Mon, 9 May 2005 13:13:38 +0000 (13:13 +0000)]
add multi-thread details for GnuTLS

19 years agonew mirror, added amount of contributors
Daniel Stenberg [Mon, 9 May 2005 12:34:55 +0000 (12:34 +0000)]
new mirror, added amount of contributors

19 years agoJeff is short for Jeffrey
Daniel Stenberg [Mon, 9 May 2005 11:43:23 +0000 (11:43 +0000)]
Jeff is short for Jeffrey

19 years agoupdated with the current RELEASE-NOTES names
Daniel Stenberg [Mon, 9 May 2005 11:39:20 +0000 (11:39 +0000)]
updated with the current RELEASE-NOTES names

19 years agoI decided to make this list more complete. I took the 5-year anniversary list
Daniel Stenberg [Mon, 9 May 2005 09:11:39 +0000 (09:11 +0000)]
I decided to make this list more complete. I took the 5-year anniversary list
from 2003 and added all names from all release notes in the CVS (there is a
slight gap though). I removed names with only first names (Like "Chris" and
"Ralph") , as that won't make anyone happy and we might list their full names
as well anyway.

This list is now intended to include _all_ people that contribute: big or
small. 389 names at the time of this commit.

19 years agono need to display src/config.h anymore since it is a duplicate of lib/config.h
Daniel Stenberg [Mon, 9 May 2005 07:45:30 +0000 (07:45 +0000)]
no need to display src/config.h anymore since it is a duplicate of lib/config.h
but we could use having a look at ares/config.h when that is used

19 years agosilence compiler warnings
Daniel Stenberg [Sun, 8 May 2005 22:45:01 +0000 (22:45 +0000)]
silence compiler warnings

19 years agofix warnings about unused variables for non-debug builds
Daniel Stenberg [Sat, 7 May 2005 20:41:16 +0000 (20:41 +0000)]
fix warnings about unused variables for non-debug builds

19 years agofix
Daniel Stenberg [Sat, 7 May 2005 20:28:39 +0000 (20:28 +0000)]
fix

19 years agoJanuary 2003. Started working on the distributed curl tests. The autobuilds.
Daniel Stenberg [Sat, 7 May 2005 14:23:32 +0000 (14:23 +0000)]
January 2003. Started working on the distributed curl tests. The autobuilds.

19 years agoDEBUGF() is a new conveniant macro to add infof() calls (or similar) for
Daniel Stenberg [Sat, 7 May 2005 13:57:07 +0000 (13:57 +0000)]
DEBUGF() is a new conveniant macro to add infof() calls (or similar) for
debug builds only. Made the ftp code use it on several places.

19 years agoAdded an active disconnected state, to make the code clearer.
Daniel Stenberg [Sat, 7 May 2005 13:52:07 +0000 (13:52 +0000)]
Added an active disconnected state, to make the code clearer.

19 years agoremoved unnecessary logging to ease REAL debuggin
Daniel Stenberg [Sat, 7 May 2005 08:55:37 +0000 (08:55 +0000)]
removed unnecessary logging to ease REAL debuggin

19 years agoone more command line option, fixed the AIX 4.3 enabled IPv6 build (it now
Daniel Stenberg [Fri, 6 May 2005 23:46:35 +0000 (23:46 +0000)]
one more command line option, fixed the AIX 4.3 enabled IPv6 build (it now
detects a bad Ipv6 situation and disables it automatically)

19 years agoAdded two test cases for multipart formpost over a proxy with --anyauth. Our
Daniel Stenberg [Fri, 6 May 2005 23:22:33 +0000 (23:22 +0000)]
Added two test cases for multipart formpost over a proxy with --anyauth. Our
HTTP test server is a bit limited though, as it never responds to the POST
request until all data has been sent (and received)...

19 years agoWhen a server is clearly running, curl is now invoked to verify that it can
Daniel Stenberg [Fri, 6 May 2005 23:21:34 +0000 (23:21 +0000)]
When a server is clearly running, curl is now invoked to verify that it can
download a file from the server before the server is considered fine to use
for the given test case. This should fix the cases where the server can run
but curl cannot work with it.

19 years agouse calloc instead of malloc to save a call to memset()
Daniel Stenberg [Thu, 5 May 2005 06:04:00 +0000 (06:04 +0000)]
use calloc instead of malloc to save a call to memset()

19 years agonow add --trace-time by default for curl tests
Daniel Stenberg [Wed, 4 May 2005 21:58:47 +0000 (21:58 +0000)]
now add --trace-time by default for curl tests

19 years agoremoved lots of (now) redundant logging
Daniel Stenberg [Wed, 4 May 2005 21:57:07 +0000 (21:57 +0000)]
removed lots of (now) redundant logging

19 years agomodify a value we are allowed to
Daniel Stenberg [Wed, 4 May 2005 21:51:09 +0000 (21:51 +0000)]
modify a value we are allowed to

19 years agoimproved logging (all FTP protocol data, both ways) to possibly help us realize
Daniel Stenberg [Wed, 4 May 2005 21:49:30 +0000 (21:49 +0000)]
improved logging (all FTP protocol data, both ways) to possibly help us realize
why sometimes the control connection dies after a RETR has been sent

19 years agotowards 7.14.0 - really
Daniel Stenberg [Wed, 4 May 2005 15:11:09 +0000 (15:11 +0000)]
towards 7.14.0 - really

19 years agoprevent memory leak when built SSL disabled
Daniel Stenberg [Wed, 4 May 2005 14:52:51 +0000 (14:52 +0000)]
prevent memory leak when built SSL disabled

19 years ago*MAN* was this hard to track down. Had I just read the docs properly from the
Daniel Stenberg [Tue, 3 May 2005 23:14:43 +0000 (23:14 +0000)]
*MAN* was this hard to track down. Had I just read the docs properly from the
start... Anyway, fork() + exec() makes _two_ pids (in perl) that we need to
track and kill after use. Thankyouverymuch.

19 years agoadd more info to the log to ease debugging
Daniel Stenberg [Tue, 3 May 2005 23:13:24 +0000 (23:13 +0000)]
add more info to the log to ease debugging

19 years agoimproved failf() error messages
Daniel Stenberg [Mon, 2 May 2005 22:53:55 +0000 (22:53 +0000)]
improved failf() error messages

19 years agothe new functions and the upcoming ipv6 calls for the next version to become
Daniel Stenberg [Mon, 2 May 2005 22:33:57 +0000 (22:33 +0000)]
the new functions and the upcoming ipv6 calls for the next version to become
1.3.0

19 years agocorrected copyright years
Daniel Stenberg [Mon, 2 May 2005 14:33:58 +0000 (14:33 +0000)]
corrected copyright years

19 years agocorrected copyright year
Daniel Stenberg [Mon, 2 May 2005 14:33:07 +0000 (14:33 +0000)]
corrected copyright year

19 years agoSort of "fixed" KNOWN_BUGS #4: curl now builds IPv6 enabled on AIX 4.3. At
Daniel Stenberg [Mon, 2 May 2005 14:06:27 +0000 (14:06 +0000)]
Sort of "fixed" KNOWN_BUGS #4: curl now builds IPv6 enabled on AIX 4.3. At
least it should no longer cause a compiler error. However, it does not have
AI_NUMERICHOST so we cannot getaddrinfo() any numerical addresses with it (we
use that for FTP PORT/EPRT)! So, I modified the configure check that checks if
the getaddrinfo() is working, to use AI_NUMERICHOST since then it'll fail on
AIX 4.3 and it will automatically build with IPv6 support disabled.

19 years agoNow configure checks for struct sockaddr_storage and the ftp code tries
Daniel Stenberg [Mon, 2 May 2005 11:56:15 +0000 (11:56 +0000)]
Now configure checks for struct sockaddr_storage and the ftp code tries
to survive without it if not found. AIX 4.3 targetted adjustment.

19 years agoanother <case> converted to sysread
Daniel Stenberg [Mon, 2 May 2005 11:55:17 +0000 (11:55 +0000)]
another <case> converted to sysread

19 years agoread from the open2 filehandle with sysread, not <handle>
Daniel Stenberg [Mon, 2 May 2005 11:31:15 +0000 (11:31 +0000)]
read from the open2 filehandle with sysread, not <handle>

19 years agoFixed the FTP server read stuff when waiting for a connect after a PASV/EPSV.
Daniel Stenberg [Mon, 2 May 2005 10:22:09 +0000 (10:22 +0000)]
Fixed the FTP server read stuff when waiting for a connect after a PASV/EPSV.

Made the ftp server use the passed in pidfile name, and made runtests.pl
pass it in properly.

19 years agofix the server for the slow response case
Daniel Stenberg [Mon, 2 May 2005 10:03:12 +0000 (10:03 +0000)]
fix the server for the slow response case

19 years agoAdded --trace-time that when used adds a time stamp to each trace line that
Daniel Stenberg [Mon, 2 May 2005 09:38:19 +0000 (09:38 +0000)]
Added --trace-time that when used adds a time stamp to each trace line that
--trace, --trace-ascii and --verbose output. I also made the '>' display
separate each line on the linefeed so that HTTP requests etc look nicer in the
-v output.

19 years agoWhen starting the ftp server, wait a few seconds to make really sure that
Daniel Stenberg [Mon, 2 May 2005 09:08:44 +0000 (09:08 +0000)]
When starting the ftp server, wait a few seconds to make really sure that
a pidfile for the server appears as otherwise it failed.

19 years agoMake sure there's no pidfile if we cannot start the initial sockfilt tool -
Daniel Stenberg [Mon, 2 May 2005 09:08:02 +0000 (09:08 +0000)]
Make sure there's no pidfile if we cannot start the initial sockfilt tool -
this happens for some ipv6-enabled hosts on which sockfilt cannot listen
on ipv6.

19 years agotwo bugfixes, one change and one test script modification
Daniel Stenberg [Mon, 2 May 2005 08:40:20 +0000 (08:40 +0000)]
two bugfixes, one change and one test script modification

19 years agotwo bugs, one change
Daniel Stenberg [Mon, 2 May 2005 07:59:47 +0000 (07:59 +0000)]
two bugs, one change

19 years agoblank a few more environment variables before running a test
Daniel Stenberg [Mon, 2 May 2005 07:54:25 +0000 (07:54 +0000)]
blank a few more environment variables before running a test

19 years agoMade curl recognize the environment variables Lynx (and others?) support for
Daniel Stenberg [Mon, 2 May 2005 07:53:25 +0000 (07:53 +0000)]
Made curl recognize the environment variables Lynx (and others?) support for
pointing out the CA cert path/file: SSL_CERT_DIR and SSL_CERT_FILE. If
CURL_CA_BUNDLE is not set, they are checked afterwards.

19 years agoBryan Henderson's fine update of SSL_VERIFYPEER and SSL_VERIFYHOST
Daniel Stenberg [Mon, 2 May 2005 07:28:40 +0000 (07:28 +0000)]
Bryan Henderson's fine update of SSL_VERIFYPEER and SSL_VERIFYHOST

19 years agoprevent two compiler warnings on comparisons between signed and unsigned
Daniel Stenberg [Sun, 1 May 2005 23:16:51 +0000 (23:16 +0000)]
prevent two compiler warnings on comparisons between signed and unsigned

19 years agofixed to use fork()+exec() to start test servers
Daniel Stenberg [Sun, 1 May 2005 13:20:53 +0000 (13:20 +0000)]
fixed to use fork()+exec() to start test servers

19 years agoalways use the libcurl-provided *printf() functions
Daniel Stenberg [Sun, 1 May 2005 12:56:09 +0000 (12:56 +0000)]
always use the libcurl-provided *printf() functions

19 years agoutil.h added as "source" to make it get added in dist archives
Daniel Stenberg [Sun, 1 May 2005 12:51:27 +0000 (12:51 +0000)]
util.h added as "source" to make it get added in dist archives

19 years agologfile name is const
Daniel Stenberg [Sat, 30 Apr 2005 23:35:51 +0000 (23:35 +0000)]
logfile name is const

19 years agoMoved common code to util.[ch] instead of having it duplicated in sws.c
Daniel Stenberg [Sat, 30 Apr 2005 23:30:55 +0000 (23:30 +0000)]
Moved common code to util.[ch] instead of having it duplicated in sws.c
and sockfilt.c. For good-to-have functions for the servers written in C.

19 years agothere cannot be chunked problem when no_body (HEAD) is true since without
Daniel Stenberg [Sat, 30 Apr 2005 23:07:38 +0000 (23:07 +0000)]
there cannot be chunked problem when no_body (HEAD) is true since without
body there is nothing chunked-encoded!

19 years agosingleipconnect() returns a socket descriptor, not a CURLcode (but perhaps
Daniel Stenberg [Sat, 30 Apr 2005 15:16:39 +0000 (15:16 +0000)]
singleipconnect() returns a socket descriptor, not a CURLcode (but perhaps
we should make it do that...)

19 years agomore fixes
Daniel Stenberg [Fri, 29 Apr 2005 12:34:53 +0000 (12:34 +0000)]
more fixes

19 years agoUpdated with (new and old) default config file search path explanation.
Daniel Stenberg [Thu, 28 Apr 2005 21:26:30 +0000 (21:26 +0000)]
Updated with (new and old) default config file search path explanation.

19 years agoSet mode text on the section that is written by curl in text mode, to allow
Daniel Stenberg [Thu, 28 Apr 2005 21:07:07 +0000 (21:07 +0000)]
Set mode text on the section that is written by curl in text mode, to allow
the runtests.pl to check this differently on operating systems that
differentiate on this.

19 years agobasic signal handler for sigint and sigkill
Daniel Stenberg [Thu, 28 Apr 2005 21:06:17 +0000 (21:06 +0000)]
basic signal handler for sigint and sigkill

19 years agofixed the attribute parser to better handle multiple ones, with or without
Daniel Stenberg [Thu, 28 Apr 2005 21:05:40 +0000 (21:05 +0000)]
fixed the attribute parser to better handle multiple ones, with or without
quotes around the contents

19 years agomoved two functions to ftp.pm, made some more changes on stopping servers
Daniel Stenberg [Thu, 28 Apr 2005 21:04:58 +0000 (21:04 +0000)]
moved two functions to ftp.pm, made some more changes on stopping servers
and fixed the textmode attribute thing for windows a bit

19 years agomoved in functions from runtests.pl to enable the ftpserver to use the
Daniel Stenberg [Thu, 28 Apr 2005 21:04:08 +0000 (21:04 +0000)]
moved in functions from runtests.pl to enable the ftpserver to use the
killslaves function

19 years agoAF_INET6 for ipv6 addresses!
Daniel Stenberg [Thu, 28 Apr 2005 14:31:25 +0000 (14:31 +0000)]
AF_INET6 for ipv6 addresses!

19 years agono, the kill servers messages need to be verbose, they're too frequent
Daniel Stenberg [Thu, 28 Apr 2005 14:25:48 +0000 (14:25 +0000)]
no, the kill servers messages need to be verbose, they're too frequent

19 years agodisplay killed pids to make it easier to see for autobuilds etc
Daniel Stenberg [Thu, 28 Apr 2005 14:03:08 +0000 (14:03 +0000)]
display killed pids to make it easier to see for autobuilds etc

19 years agohistoric thing we will not use
Daniel Stenberg [Thu, 28 Apr 2005 13:55:34 +0000 (13:55 +0000)]
historic thing we will not use

19 years agoremoved ftpsserver.pl
Daniel Stenberg [Thu, 28 Apr 2005 13:55:16 +0000 (13:55 +0000)]
removed ftpsserver.pl

19 years agoWhen staring a HTTP server, use the pidfile preferably since it turns out
Daniel Stenberg [Thu, 28 Apr 2005 13:54:48 +0000 (13:54 +0000)]
When staring a HTTP server, use the pidfile preferably since it turns out
sometimes the server can start but curl cannot speak to it, and then we must
remember the server (in order to kill it properly) anyway.

Also, make sure to kill all servers on exit everywhere.

19 years agoignore more generated files
Daniel Stenberg [Thu, 28 Apr 2005 11:22:18 +0000 (11:22 +0000)]
ignore more generated files

19 years agoremove unused ftps-server code and fixed two warnings
Daniel Stenberg [Thu, 28 Apr 2005 08:23:25 +0000 (08:23 +0000)]
remove unused ftps-server code and fixed two warnings

19 years agoif diff -u makes zero output, try diff -c instead
Daniel Stenberg [Thu, 28 Apr 2005 08:20:33 +0000 (08:20 +0000)]
if diff -u makes zero output, try diff -c instead

19 years agokill slave processes when they fail
Daniel Stenberg [Thu, 28 Apr 2005 07:36:55 +0000 (07:36 +0000)]
kill slave processes when they fail

19 years ago1. no longer ask the server for the HTTPS pid, as it returns the HTTP pid
Daniel Stenberg [Thu, 28 Apr 2005 06:50:42 +0000 (06:50 +0000)]
1. no longer ask the server for the HTTPS pid, as it returns the HTTP pid
(problem identified by Dan F)
2. initial text mode fix for file checks, to allow better text file testing
on windows (with regard to line endings)
3. fixed to use the proper ftpserver pidfile to find pid

19 years agoPaul Moore made curl check for the .curlrc file (_curlrc on windows) on two
Daniel Stenberg [Wed, 27 Apr 2005 21:24:58 +0000 (21:24 +0000)]
Paul Moore made curl check for the .curlrc file (_curlrc on windows) on two
more places. First, CURL_HOME is a new environment variable that is used
instead of HOME if it is set, to point out where the default config file
lives. If there's no config file in the dir pointed out by one of the
environment variables, the Windows version will instead check the same
directory the executable curl is located in.

19 years agolisten(..., 1) as 0 doesn't work on Tru64!
Daniel Stenberg [Wed, 27 Apr 2005 12:28:04 +0000 (12:28 +0000)]
listen(..., 1) as 0 doesn't work on Tru64!

19 years agodisplay listening port in log
Daniel Stenberg [Wed, 27 Apr 2005 12:27:23 +0000 (12:27 +0000)]
display listening port in log

19 years agoshow what error codes we test for too, and show 10 test case numbers
Daniel Stenberg [Wed, 27 Apr 2005 10:12:41 +0000 (10:12 +0000)]
show what error codes we test for too, and show 10 test case numbers

19 years agokeyword update
Daniel Stenberg [Wed, 27 Apr 2005 09:59:47 +0000 (09:59 +0000)]
keyword update

19 years agodetect SSL library properly and display it on startup
Daniel Stenberg [Wed, 27 Apr 2005 09:59:29 +0000 (09:59 +0000)]
detect SSL library properly and display it on startup

19 years agofixing
Daniel Stenberg [Tue, 26 Apr 2005 21:47:31 +0000 (21:47 +0000)]
fixing

19 years agoCory Nelson's work on nuking compiler warnings when building on x64 with
Daniel Stenberg [Tue, 26 Apr 2005 13:08:49 +0000 (13:08 +0000)]
Cory Nelson's work on nuking compiler warnings when building on x64 with
VS2005.

19 years agoSince Windows doesn't have/use the POSIX prototype for send() and recv(), we
Daniel Stenberg [Tue, 26 Apr 2005 13:08:18 +0000 (13:08 +0000)]
Since Windows doesn't have/use the POSIX prototype for send() and recv(), we
typecast the third argument in the macros to avoid compiler warnings.

19 years agoadding a bunch of comments for each #endif
Daniel Stenberg [Tue, 26 Apr 2005 10:55:52 +0000 (10:55 +0000)]
adding a bunch of comments for each #endif