Daniel Stenberg
f5ae149338
seems to work for test 271 on Linux now!
2005-09-19 22:03:16 +00:00
Daniel Stenberg
90559bed53
renamed sendfile() since some systems have a system call named like this -
...
now the functions are named sendtftp() and recvtftp() instead.
2005-09-16 10:52:38 +00:00
Daniel Stenberg
973a18cf03
In the Solaris 7 header files for tftp, the th_stuff struct member is an
...
unsigned short. Trying a typecast here to fix.
2005-09-16 10:50:43 +00:00
Daniel Stenberg
3c666ce57a
prevent warnings on re-defining MIN
2005-09-16 07:19:54 +00:00
Daniel Stenberg
da3ecc91f8
use int "subscripts" to prevent warnings from picky compilers
2005-09-16 06:14:30 +00:00
Daniel Stenberg
09c8f558f7
use internal *printf() clones
2005-09-16 05:49:53 +00:00
Daniel Stenberg
528a149def
ifdef for includes, added checking for two not previously checked files (one
...
being necessary for solaris builds)
2005-09-15 21:50:50 +00:00
Daniel Stenberg
0e39543d35
ignore this too
2005-09-15 20:36:58 +00:00
Daniel Stenberg
0de20d8ee6
build tftpd too!
2005-09-15 20:36:28 +00:00
Daniel Stenberg
cd5de5c0e5
First version of the TFTP server. Basic functionality is there.
2005-09-15 20:32:59 +00:00
Daniel Stenberg
9542dfdcdc
moved test2file() to util.c
2005-09-15 20:22:43 +00:00
Daniel Stenberg
b9c8de598b
Thanks to Scott Davis' detailed reports, I found this premature detection
...
of the end of a chunked-encoded POST request.
2005-09-07 10:51:37 +00:00
Daniel Stenberg
e22ac39da4
detabify
2005-08-18 08:47:56 +00:00
Daniel Stenberg
50e9522a06
silense a warning
2005-05-25 22:12:57 +00:00
Daniel Stenberg
3e79693e3b
utilize the whole usec in the log and don't output to stderr if the logfile
...
can't be opened
2005-05-25 12:04:52 +00:00
Daniel Stenberg
d55d3c2fd0
nicer raw logging and put code into (nicer) functions
2005-05-25 12:04:24 +00:00
Daniel Stenberg
b749910e6c
include ctype.h for isdigit()
2005-05-19 09:55:53 +00:00
Daniel Stenberg
6ff092f140
removed duplicate
2005-05-19 07:12:16 +00:00
Daniel Stenberg
4a091bbd8a
Bug report #1204435 identified a problem with malformed URLs like
...
"http://somehost?data " as it added a slash too much in the request ("GET
/?data/"...). Added test case 260 to verify.
2005-05-18 20:01:01 +00:00
Daniel Stenberg
45bce1062a
ignore resolve too
2005-05-18 10:05:38 +00:00
Daniel Stenberg
8cb344bf3c
use less code and prevent compiler warning
2005-05-18 10:01:46 +00:00
Daniel Stenberg
1f878aee69
Made test case 241 precheck that the given name resolves to an ipv6 address,
...
or the test is skipped. Ideally, we should let this test case go over a few
frequently used IPv6 localhost aliases...
2005-05-17 10:27:11 +00:00
Daniel Stenberg
84fd4686e2
Moved more generic functions to util.[ch]
...
Added resolve.c to simply resolve a given host name
2005-05-17 10:22:22 +00:00
Daniel Stenberg
315a9c95d5
prevent 64bit warnings
2005-05-10 11:21:57 +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
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
e5472bbd21
AF_INET6 for ipv6 addresses!
2005-04-28 14:31:25 +00:00
Daniel Stenberg
8465a367a4
listen(..., 1) as 0 doesn't work on Tru64!
2005-04-27 12:28:04 +00:00
Daniel Stenberg
3bcfe678ab
display listening port in log
2005-04-27 12:27:23 +00:00
Daniel Stenberg
e8e43f06af
copyright this year
2005-04-22 20:47:21 +00:00
Daniel Stenberg
4382204e1b
better fix for the socket -1 case
2005-04-18 08:59:46 +00:00
Daniel Stenberg
6d3114efe2
ignore sockfilt
2005-04-18 08:51:04 +00:00
Daniel Stenberg
b62baaed95
safety measure to avoid using -1 as socket
2005-04-18 08:49:46 +00:00
Daniel Stenberg
14424f7058
Modified the FTP server to use the new 'sockfilt' program to do all the socket
...
level stuff. The FTP server communicates with sockfilt using perl's open2().
This enables easier IPv6 support and hopefully FTP-SSL support in the future.
Added four test cases for FTP-ipv6.
2005-04-18 06:57:44 +00:00
Daniel Stenberg
ab4086bc24
Updated the copyright year since changes have been this year.
2005-03-31 07:02:02 +00:00
Daniel Stenberg
31443724c6
modified some log outputs, added comment about auth required as used in
...
test 154
2005-03-28 22:15:17 +00:00
Dan Fandrich
9798432f56
Fixed some compiler warnings. Fixed a low incidence memory leak in the test server.
2005-02-24 18:54:23 +00:00
Daniel Stenberg
527f70e540
Curl_base64_decode() now returns an allocated buffer
2005-02-22 12:10:30 +00:00
Daniel Stenberg
dc28a9c0c1
make sure the ipv6 http server gets its pid stored in a separate file
2004-12-14 21:52:16 +00:00
Gisle Vanem
d02b2c4308
Fixed missing braces warning.
2004-12-13 11:31:01 +00:00
Gisle Vanem
22a0c57746
Missing 'in6addr_any' in MingW's lib. ld bug?
2004-12-12 20:14:25 +00:00
Daniel Stenberg
9b3b7ad22e
HTTP IPv6 support added to the test suite
2004-12-11 21:41:00 +00:00
Daniel Stenberg
8c833d375a
ignore the getpart tool
2004-12-09 09:58:45 +00:00
Daniel Stenberg
18f14ae23d
close the connection when a bad test number was requested
2004-12-09 09:58:25 +00:00
Daniel Stenberg
d6c155ff47
added comment about port number in CONNECT string being used as test number
2004-12-02 17:11:09 +00:00
Daniel Stenberg
b7c6bc20be
removed comment
2004-11-29 21:44:40 +00:00