Daniel Stenberg
b04d6dd0b1
January 2003. Started working on the distributed curl tests. The autobuilds.
2005-05-07 14:23:32 +00:00
Daniel Stenberg
9c5f79c56a
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.
2005-05-07 13:57:07 +00:00
Daniel Stenberg
ef5eea689a
Added an active disconnected state, to make the code clearer.
2005-05-07 13:52:07 +00:00
Daniel Stenberg
fd191deb49
removed unnecessary logging to ease REAL debuggin
2005-05-07 08:55:37 +00:00
Daniel Stenberg
e1da1ff7d3
one more command line option, fixed the AIX 4.3 enabled IPv6 build (it now
...
detects a bad Ipv6 situation and disables it automatically)
2005-05-06 23:46:35 +00:00
Daniel Stenberg
2b00ed7ef8
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)...
2005-05-06 23:22:33 +00:00
Daniel Stenberg
d960ea959d
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.
2005-05-06 23:21:34 +00:00
Daniel Stenberg
274842ec41
use calloc instead of malloc to save a call to memset()
2005-05-05 06:04:00 +00:00
Daniel Stenberg
c06da7c84a
now add --trace-time by default for curl tests
2005-05-04 21:58:47 +00:00
Daniel Stenberg
cea117b509
removed lots of (now) redundant logging
2005-05-04 21:57:07 +00:00
Daniel Stenberg
6078c938b2
modify a value we are allowed to
2005-05-04 21:51:09 +00:00
Daniel Stenberg
9e95dd4821
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
2005-05-04 21:49:30 +00:00
Daniel Stenberg
0cc8b57d4f
towards 7.14.0 - really
2005-05-04 15:11:09 +00:00
Daniel Stenberg
2179e6e797
prevent memory leak when built SSL disabled
2005-05-04 14:52:51 +00:00
Daniel Stenberg
7dde3d1825
*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.
2005-05-03 23:14:43 +00:00
Daniel Stenberg
a0fe950b75
add more info to the log to ease debugging
2005-05-03 23:13:24 +00:00
Daniel Stenberg
44985e8884
improved failf() error messages
2005-05-02 22:53:55 +00:00
Daniel Stenberg
f03366bcbf
the new functions and the upcoming ipv6 calls for the next version to become
...
1.3.0
2005-05-02 22:33:57 +00:00
Daniel Stenberg
d43ea83033
corrected copyright years
2005-05-02 14:33:58 +00:00
Daniel Stenberg
11bdba0007
corrected copyright year
2005-05-02 14:33:07 +00:00
Daniel Stenberg
07e58aaa79
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.
2005-05-02 14:06:27 +00:00
Daniel Stenberg
a31ddd363b
Now configure checks for struct sockaddr_storage and the ftp code tries
...
to survive without it if not found. AIX 4.3 targetted adjustment.
2005-05-02 11:56:15 +00:00
Daniel Stenberg
ed9e10f2d8
another <case> converted to sysread
2005-05-02 11:55:17 +00:00
Daniel Stenberg
02ae3c2810
read from the open2 filehandle with sysread, not <handle>
2005-05-02 11:31:15 +00:00
Daniel Stenberg
669ebb5f71
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.
2005-05-02 10:22:09 +00:00
Daniel Stenberg
9a3e0e52cb
fix the server for the slow response case
2005-05-02 10:03:12 +00:00
Daniel Stenberg
b0f856213d
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.
2005-05-02 09:38:19 +00:00
Daniel Stenberg
6f4ff1f2bf
When starting the ftp server, wait a few seconds to make really sure that
...
a pidfile for the server appears as otherwise it failed.
2005-05-02 09:08:44 +00:00
Daniel Stenberg
d3eea61f1f
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.
2005-05-02 09:08:02 +00:00
Daniel Stenberg
d59d81fae8
two bugfixes, one change and one test script modification
2005-05-02 08:40:20 +00:00
Daniel Stenberg
329ca40b6f
two bugs, one change
2005-05-02 07:59:47 +00:00
Daniel Stenberg
e71bd416f4
blank a few more environment variables before running a test
2005-05-02 07:54:25 +00:00
Daniel Stenberg
ad66fc6cc2
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.
2005-05-02 07:53:25 +00:00
Daniel Stenberg
d12b44204b
Bryan Henderson's fine update of SSL_VERIFYPEER and SSL_VERIFYHOST
2005-05-02 07:28:40 +00:00
Daniel Stenberg
4be2136de4
prevent two compiler warnings on comparisons between signed and unsigned
2005-05-01 23:16:51 +00:00
Daniel Stenberg
c4dbed040b
fixed to use fork()+exec() to start test servers
2005-05-01 13:20:53 +00:00
Daniel Stenberg
366b62af2d
always use the libcurl-provided *printf() functions
2005-05-01 12:56:09 +00:00
Daniel Stenberg
a6955aa486
util.h added as "source" to make it get added in dist archives
2005-05-01 12:51:27 +00:00
Daniel Stenberg
ad30341fa2
logfile name is const
2005-04-30 23:35:51 +00:00
Daniel Stenberg
23da55a9f1
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.
2005-04-30 23:30:55 +00:00
Daniel Stenberg
41e6292e7b
there cannot be chunked problem when no_body (HEAD) is true since without
...
body there is nothing chunked-encoded!
2005-04-30 23:07:38 +00:00
Daniel Stenberg
ae1d6f29d9
singleipconnect() returns a socket descriptor, not a CURLcode (but perhaps
...
we should make it do that...)
2005-04-30 15:16:39 +00:00
Daniel Stenberg
ccfc1ddbef
more fixes
2005-04-29 12:34:53 +00:00
Daniel Stenberg
002de1eae2
Updated with (new and old) default config file search path explanation.
2005-04-28 21:26:30 +00:00
Daniel Stenberg
63621bae81
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.
2005-04-28 21:07:07 +00:00
Daniel Stenberg
85f9e6c4b9
basic signal handler for sigint and sigkill
2005-04-28 21:06:17 +00:00
Daniel Stenberg
967ec296c0
fixed the attribute parser to better handle multiple ones, with or without
...
quotes around the contents
2005-04-28 21:05:40 +00:00
Daniel Stenberg
c6aae9b1d7
moved two functions to ftp.pm, made some more changes on stopping servers
...
and fixed the textmode attribute thing for windows a bit
2005-04-28 21:04:58 +00:00
Daniel Stenberg
913c370c25
moved in functions from runtests.pl to enable the ftpserver to use the
...
killslaves function
2005-04-28 21:04:08 +00:00
Daniel Stenberg
e5472bbd21
AF_INET6 for ipv6 addresses!
2005-04-28 14:31:25 +00:00