Gisle Vanem [Sat, 14 May 2005 06:04:21 +0000 (06:04 +0000)]
Updated generated dependencies.
Gisle Vanem [Sat, 14 May 2005 06:00:40 +0000 (06:00 +0000)]
Some patches for (a stricter/smarter) gcc 4.0 and
warnings like:
'x' may be used uninitialized in this function.
Gisle Vanem [Sat, 14 May 2005 05:59:26 +0000 (05:59 +0000)]
'ssize_t' seems to be a gcc 4.x built-in.
Gisle Vanem [Sat, 14 May 2005 05:58:52 +0000 (05:58 +0000)]
Change for systems with >1 ways of setting (non-)blocking
mode. (djgpp/Watt-32 has 3 ways). Should rewrite this using
"#elif ..", but maybe there is still broken cpp around?
Daniel Stenberg [Fri, 13 May 2005 23:00:06 +0000 (23:00 +0000)]
updated
Daniel Stenberg [Fri, 13 May 2005 22:24:50 +0000 (22:24 +0000)]
uses select() instead of poll() even on Mac OS X 10.4
Daniel Stenberg [Fri, 13 May 2005 21:19:21 +0000 (21:19 +0000)]
adjusted the configure to always skip the fine-poll() test on Mac OS X (darwin)
Daniel Stenberg [Thu, 12 May 2005 21:56:26 +0000 (21:56 +0000)]
remove blank lines
Daniel Stenberg [Thu, 12 May 2005 21:49:42 +0000 (21:49 +0000)]
CURLOPT_SSLVERSION clarified
Daniel Stenberg [Thu, 12 May 2005 14:00:27 +0000 (14:00 +0000)]
-z bad use warning and NTLM proxy auth in reconnect fix
Daniel Stenberg [Thu, 12 May 2005 13:44:25 +0000 (13:44 +0000)]
oops, found by bug reported in bug report #
1200661
Daniel Stenberg [Thu, 12 May 2005 12:53:02 +0000 (12:53 +0000)]
spell
Daniel Stenberg [Thu, 12 May 2005 08:51:30 +0000 (08:51 +0000)]
typecast to fix warning on 64bit systems
Daniel Stenberg [Thu, 12 May 2005 07:28:03 +0000 (07:28 +0000)]
warn about bad -z syntax
Daniel Stenberg [Wed, 11 May 2005 11:56:04 +0000 (11:56 +0000)]
MatrixSSL and yaSSL are two free libs we _could_ support
Daniel Stenberg [Wed, 11 May 2005 10:23:59 +0000 (10:23 +0000)]
mention the select() error fix as well
Daniel Stenberg [Wed, 11 May 2005 09:56:53 +0000 (09:56 +0000)]
the new HTTP headers
Daniel Stenberg [Wed, 11 May 2005 09:56:10 +0000 (09:56 +0000)]
removed duplicate
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"
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
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...
Daniel Stenberg [Tue, 10 May 2005 22:48:26 +0000 (22:48 +0000)]
me stupid, errno is not set for mere select()-exceptions
Daniel Stenberg [Tue, 10 May 2005 22:46:24 +0000 (22:46 +0000)]
include protos to fix warnings
Daniel Stenberg [Tue, 10 May 2005 22:44:08 +0000 (22:44 +0000)]
If Curl_select() returns with the error bit set, bail out.
Daniel Stenberg [Tue, 10 May 2005 11:21:57 +0000 (11:21 +0000)]
prevent 64bit warnings
Daniel Stenberg [Tue, 10 May 2005 11:19:12 +0000 (11:19 +0000)]
allow the ares/config.h display to fail
Daniel Stenberg [Mon, 9 May 2005 21:12:03 +0000 (21:12 +0000)]
Jeremy Brown's OpenSSL thread-locking example
Daniel Stenberg [Mon, 9 May 2005 13:57:58 +0000 (13:57 +0000)]
new counter
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.
Daniel Stenberg [Mon, 9 May 2005 13:26:41 +0000 (13:26 +0000)]
update the "PORTS" section a little
Daniel Stenberg [Mon, 9 May 2005 13:13:38 +0000 (13:13 +0000)]
add multi-thread details for GnuTLS
Daniel Stenberg [Mon, 9 May 2005 12:34:55 +0000 (12:34 +0000)]
new mirror, added amount of contributors
Daniel Stenberg [Mon, 9 May 2005 11:43:23 +0000 (11:43 +0000)]
Jeff is short for Jeffrey
Daniel Stenberg [Mon, 9 May 2005 11:39:20 +0000 (11:39 +0000)]
updated with the current RELEASE-NOTES names
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.
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
Daniel Stenberg [Sun, 8 May 2005 22:45:01 +0000 (22:45 +0000)]
silence compiler warnings
Daniel Stenberg [Sat, 7 May 2005 20:41:16 +0000 (20:41 +0000)]
fix warnings about unused variables for non-debug builds
Daniel Stenberg [Sat, 7 May 2005 20:28:39 +0000 (20:28 +0000)]
fix
Daniel Stenberg [Sat, 7 May 2005 14:23:32 +0000 (14:23 +0000)]
January 2003. Started working on the distributed curl tests. The autobuilds.
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.
Daniel Stenberg [Sat, 7 May 2005 13:52:07 +0000 (13:52 +0000)]
Added an active disconnected state, to make the code clearer.
Daniel Stenberg [Sat, 7 May 2005 08:55:37 +0000 (08:55 +0000)]
removed unnecessary logging to ease REAL debuggin
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)
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)...
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.
Daniel Stenberg [Thu, 5 May 2005 06:04:00 +0000 (06:04 +0000)]
use calloc instead of malloc to save a call to memset()
Daniel Stenberg [Wed, 4 May 2005 21:58:47 +0000 (21:58 +0000)]
now add --trace-time by default for curl tests
Daniel Stenberg [Wed, 4 May 2005 21:57:07 +0000 (21:57 +0000)]
removed lots of (now) redundant logging
Daniel Stenberg [Wed, 4 May 2005 21:51:09 +0000 (21:51 +0000)]
modify a value we are allowed to
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
Daniel Stenberg [Wed, 4 May 2005 15:11:09 +0000 (15:11 +0000)]
towards 7.14.0 - really
Daniel Stenberg [Wed, 4 May 2005 14:52:51 +0000 (14:52 +0000)]
prevent memory leak when built SSL disabled
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.
Daniel Stenberg [Tue, 3 May 2005 23:13:24 +0000 (23:13 +0000)]
add more info to the log to ease debugging
Daniel Stenberg [Mon, 2 May 2005 22:53:55 +0000 (22:53 +0000)]
improved failf() error messages
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
Daniel Stenberg [Mon, 2 May 2005 14:33:58 +0000 (14:33 +0000)]
corrected copyright years
Daniel Stenberg [Mon, 2 May 2005 14:33:07 +0000 (14:33 +0000)]
corrected copyright year
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.
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.
Daniel Stenberg [Mon, 2 May 2005 11:55:17 +0000 (11:55 +0000)]
another <case> converted to sysread
Daniel Stenberg [Mon, 2 May 2005 11:31:15 +0000 (11:31 +0000)]
read from the open2 filehandle with sysread, not <handle>
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.
Daniel Stenberg [Mon, 2 May 2005 10:03:12 +0000 (10:03 +0000)]
fix the server for the slow response case
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.
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.
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.
Daniel Stenberg [Mon, 2 May 2005 08:40:20 +0000 (08:40 +0000)]
two bugfixes, one change and one test script modification
Daniel Stenberg [Mon, 2 May 2005 07:59:47 +0000 (07:59 +0000)]
two bugs, one change
Daniel Stenberg [Mon, 2 May 2005 07:54:25 +0000 (07:54 +0000)]
blank a few more environment variables before running a test
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.
Daniel Stenberg [Mon, 2 May 2005 07:28:40 +0000 (07:28 +0000)]
Bryan Henderson's fine update of SSL_VERIFYPEER and SSL_VERIFYHOST
Daniel Stenberg [Sun, 1 May 2005 23:16:51 +0000 (23:16 +0000)]
prevent two compiler warnings on comparisons between signed and unsigned
Daniel Stenberg [Sun, 1 May 2005 13:20:53 +0000 (13:20 +0000)]
fixed to use fork()+exec() to start test servers
Daniel Stenberg [Sun, 1 May 2005 12:56:09 +0000 (12:56 +0000)]
always use the libcurl-provided *printf() functions
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
Daniel Stenberg [Sat, 30 Apr 2005 23:35:51 +0000 (23:35 +0000)]
logfile name is const
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.
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!
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...)
Daniel Stenberg [Fri, 29 Apr 2005 12:34:53 +0000 (12:34 +0000)]
more fixes
Daniel Stenberg [Thu, 28 Apr 2005 21:26:30 +0000 (21:26 +0000)]
Updated with (new and old) default config file search path explanation.
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.
Daniel Stenberg [Thu, 28 Apr 2005 21:06:17 +0000 (21:06 +0000)]
basic signal handler for sigint and sigkill
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
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
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
Daniel Stenberg [Thu, 28 Apr 2005 14:31:25 +0000 (14:31 +0000)]
AF_INET6 for ipv6 addresses!
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
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
Daniel Stenberg [Thu, 28 Apr 2005 13:55:34 +0000 (13:55 +0000)]
historic thing we will not use
Daniel Stenberg [Thu, 28 Apr 2005 13:55:16 +0000 (13:55 +0000)]
removed ftpsserver.pl
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.
Daniel Stenberg [Thu, 28 Apr 2005 11:22:18 +0000 (11:22 +0000)]
ignore more generated files
Daniel Stenberg [Thu, 28 Apr 2005 08:23:25 +0000 (08:23 +0000)]
remove unused ftps-server code and fixed two warnings
Daniel Stenberg [Thu, 28 Apr 2005 08:20:33 +0000 (08:20 +0000)]
if diff -u makes zero output, try diff -c instead
Daniel Stenberg [Thu, 28 Apr 2005 07:36:55 +0000 (07:36 +0000)]
kill slave processes when they fail
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
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.